719 Posted Topics

Member Avatar for default_098

What's your code to create the table cells? In that code you should add the css class to the cells.

Member Avatar for GliderPilot
0
207
Member Avatar for mhaselip

Check those out: http://www.lutanho.net/stroke/online.html http://www.webresourcesdepot.com/25-amazing-javascript-games-some-fun-and-inspiration/ http://www.javascriptkit.com/script/cutindex22.shtml http://ntt.cc/2011/01/31/66-open-source-javascript-game-engine-for-serious-developers.html

Member Avatar for AleMonteiro
0
401
Member Avatar for Smeagel13

To my knowlodge, when you don't specify the width to 100% (last case) the browser takes care to make the child 100% of it's parent, including border and padding. When you do specify width 100% (second case) you are saying that only the width must have 100%, without border and …

Member Avatar for Smeagel13
0
203
Member Avatar for Squidge

I don't know nivoSlider to help you out. But you could take a look at others slider plugins: http://webdesignledger.com/resources/8-responsive-jquery-slider-plugins http://www.tripwiremagazine.com/2012/11/jquery-slider.html

Member Avatar for AleMonteiro
0
180
Member Avatar for kiail

Check this example: <!DOCTYPE html> <html> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script> $(function(){ $("#submit_btn").click(function(){ // Get checked inputs var $chks = $("input.chkHobby:checked"); // No one checked if ( $chks.length == 0 ) { alert("No Checked"); return; } // Store checked labels var checkedLabels = []; $chks.each(function() { checkedLabels.push( $(this).next("label").text() ); }); …

Member Avatar for AleMonteiro
0
247
Member Avatar for secretply

I really didn't understand what you're trying to do. It's a html editor or tag highlight or something like it?

Member Avatar for secretply
0
125
Member Avatar for tiekwebstar
Member Avatar for n3xtgen
Member Avatar for Momerath
0
226
Member Avatar for jspence29

It's seems alright to me. Tested in IE, Opera and Firefox. Also, all links have the same styles applied.

Member Avatar for JorgeM
0
103
Member Avatar for apanimesh061

If I understood what you are trying to do, you'll have to do the following: 1. Uplod the selected file to the server (using <input type="file" />). 2. Read the file on the server and show in the text area. 3. User edit the file and click save 4. Send …

Member Avatar for diafol
0
472
Member Avatar for mpc123

You are missing the closing `>` for the option, ater the last `"` for the value. `<option value="<?php echo $row['whatever']; ?>"> <?php echo $row['whatever2'];?></option>`

Member Avatar for AleMonteiro
0
192
Member Avatar for kathymac

You are stuck in the iframe connection or in showing the location on the image? Or both? To link the actions between IFrames, you could use the parent as the main comunication center, this way, one frame will call a function on the parent that will call a function on …

Member Avatar for AleMonteiro
0
138
Member Avatar for 4everct01

In this case you would have to loop throw the DataSource itens and test one by one, using simple complare(`==`), IndexOf(to match the begining) or regular expression(to do more sofisticated matches). Another way is to query the database for matches using the equals or like operators.

Member Avatar for AleMonteiro
0
150
Member Avatar for LogicWeb

Post your html structure for the menu. You can try one thing, instead of using slide to hide/show try using hide/show without effects. I suggest you try it, because the problem may be in the effects.

Member Avatar for AleMonteiro
0
198
Member Avatar for arcticM

You must use the `cancel` option: http://api.jqueryui.com/draggable/#option-cancel <div class="draggable"> <span class="text">SomeText</span> </div> $(".draggable").draggable({ cancel: '.text' });

Member Avatar for AleMonteiro
1
248
Member Avatar for janetb

I think the best solution is to add an css class to images without border.: `img.no-border { border: none; }` Then, add the class 'no-border' to the images that you want.

Member Avatar for janetb
0
258
Member Avatar for ibakir
Member Avatar for jspence29
0
134
Member Avatar for john.knapp

`retVal.Value` returns 0 or 1 to bit columns, so converting to bool works. However, `retVal.SqlValue` returns an SqlBoolean object, that can't be converted to a bool, but the SqlBoolean object has an Value property that is a bool. So, both should work: CBoll(retval.Value) 'And CType(retval.SqlValue, 'SqlBoolean').Value I don't know if …

Member Avatar for john.knapp
0
532
Member Avatar for gahhon

Did you check if the DataTable has the data? I think you have to create to datatables, on for each dropdown. `new SqlDataAdapter("SELECT ProgrammeCode FROM Programme")` `new SqlDataAdapter("SELECT StaffID FROM Staff")` And I would invert the order of the IF's, `if (ddlProgramme.Items.Count <= 0 && ddlStaff.Items.Count <= 0)` should be …

Member Avatar for spectra
0
2K
Member Avatar for Asan23

Your code doesn't make any sense. When the user click any part of the #menu (incluing itens and sub menu) it will open the submenu, and when the user hover the mouse (hover is an alias for mouse over and mouse out events) it will close. I think that what …

Member Avatar for AleMonteiro
0
155
Member Avatar for McLaren
Member Avatar for tiekwebstar

Assuming that `row` is actually an TR object, try this: $.ajax({ type: "POST", url: "delete_order.php", data: "id="+id, success: function(){ row.fadeOut(1000, function(){ row.remove(); }); } }); And please, ident your code before posting. It helps us to help you.

Member Avatar for AleMonteiro
0
925
Member Avatar for rotten69

Hello. `$($(this)).text()` works but it's redundant. `$(this)` work as well and it's better for performance and code understanding. About the white space, you can use the trim function: var text = `$.trim($(this).text());` It will remove any extra white spaces. And I'd also change `<button>day</button>` to `<button id="btnDay" type="button">day</button>`. And add …

Member Avatar for AleMonteiro
0
329
Member Avatar for cyberdaemon

I didn't understand much of what you want... but to get the count it would be: DECLARE @rowsCount int SELECT @rowsCount = count(*) FROM [dbHIS].[dbo].[PATIENT_INFORMATION] WHERE (FIRSTNAME LIKE @FIRSTNAME OR @FIRSTNAME IS NULL) OR (LASTNAME LIKE @LASTNAME OR @LASTNAME IS NULL) OR (MIDDLENAME LIKE @MIDDLENAME OR @MIDDLENAME IS NULL)

Member Avatar for cyberdaemon
0
109
Member Avatar for gahhon

Even when you use aliases on your query, you don't use it to get the value from the reader. while (dtrStudent.Read()) { lblStudentID.Text = dtrStudent["LearnerID"].ToString(); lblStudentName.Text = dtrStudent["Name"].ToString(); lblEmail.Text = dtrStudent["Email"].ToString(); } The above should work fine.

Member Avatar for AleMonteiro
0
456
Member Avatar for Farhad.idrees
Member Avatar for Farhad.idrees
0
332
Member Avatar for coder91

What value are you trying to decrement? Because as I far I undertand, you're not increment anything on your code, you are inserting a new record. Am I wrong?

Member Avatar for coder91
0
349
Member Avatar for tiekwebstar

Try this, and make sure that the image path does exists. function vote(id) { var ajax_image = "<img src='_assets/images/tire-loader.gif' alt='Loading...' />"; $('#sub-cat').html(ajax_image); $.ajax({ type: "POST", url: "ajax.php", data: "id="+id, async: true, success: function(result) { result = result.responseText.split("^"); $('#sub-cat').html(result[0]); $('#sub-cat').html(result[1]); } }); }

Member Avatar for scrager
0
2K
Member Avatar for vizz

Hi, try jQuery scrollTo plugin. I used a couple of times and it works very nice. http://flesler.blogspot.com.br/2007/10/jqueryscrollto.html

Member Avatar for vizz
0
186
Member Avatar for AleMonteiro

Hi everybody. I'm building an site that will load a bunch of overlays into Google Maps. The overlays are static and already in JSON format to be loaded with AJAX. This all works fine, ajax request, json parse, adding overlay. But the json files are quite big, the largest has …

Member Avatar for AleMonteiro
0
2K
Member Avatar for double_cola

The link is broken, can't see anything. In any case, take a look at jQUery UI Drag & Drop: http://jqueryui.com/droppable/

Member Avatar for AleMonteiro
0
324
Member Avatar for fion.mccormack

I wouldn't bother with that, it's not a bug, it's an IE performance problem. IE is pretty slow compared with other browsers, speacially Firefox and Google Chrome. What could be done is improve the plugin performance itself, then it would load faster in IE and even faster in the other …

Member Avatar for stbuchok
0
218
Member Avatar for green-script
Member Avatar for HelloJarvis

Try using live: $(".replaced").live("click", function() { alert("Yeah!"); }); Using 'click' will only attach handlers to existing objects. Using 'live' it'll attach the handlers to any existing object and also for objects created latter.

Member Avatar for HelloJarvis
0
314
Member Avatar for dreamsky999

You post your code and what it should do, but you didn't say what the problem is. What dificulties are you having?

Member Avatar for dreamsky999
0
181
Member Avatar for hwoarang69

Try this way: <div id = 'top_menu_wrapper'> <form id='search_bar' action='Config_FullStoreURLSearchResults.asp' method='get' name='SearchBoxForm'> <ul> <li><a href='#'>Log In</a></li> <li><a href='#'>Register</a></li> <li><a href='#'>About Us</a></li> <li><input type='text' name='Search' id='search_input' value='Search...'/></li> </ul> </form> </div>

Member Avatar for hwoarang69
0
115
Member Avatar for hwoarang69

Hi. yes, it's possible to do it with JQuery. In fact, jQuery it's the easiest way to do it. You'll need the html strucutre for the window, the css to add style to the window and jQuery to open, close and manage the window. Google a little bit about JQuery …

Member Avatar for JorgeM
0
99
Member Avatar for Vijaysurya

Did you test if the mouseUp Listener is being triggered? Just to make sure, mouseUp is triggered when then user click and let go. Is that what you want? Another thing, Hover expects two functions. Because Hover is a bind for mouseOver and mouseLeave. And, if you want mouseUp, you …

Member Avatar for AleMonteiro
0
202
Member Avatar for ahteck
Member Avatar for Jmerced

You could just split the values of the text box. Something like this: string[] lines = Regex.Split(textValue, @"\n\r"); foreach (string line in lines) { // Do what you want }

Member Avatar for AleMonteiro
0
37
Member Avatar for hwoarang69

I've been using [Assembla](assembla.com) for almost two years now, and I recommend. I didn't have any problem with it and it's pretty easy to understand and use. We started with a free account for a single project, today we have a payed plan and more than 20 projects in it.

Member Avatar for EvolutionFallen
0
97
Member Avatar for MGadAllah

I use Notepad++ too, for more than 5 years now, and it never let me down. Notepad++ does not generate any garbage, because it's only a text editor. Editors that generate garbage are WYSIWYG (What You See Is What You Get), like dream weaver, front-page and others. I don't recomend …

Member Avatar for MGadAllah
0
289
Member Avatar for HelloJarvis

Try this instead: $("#button").popover({content:'<span id="test">Test</span>', html:true, placement:"bottom"});

Member Avatar for AleMonteiro
0
3K
Member Avatar for adrian.mcguinness

Hi, the code `dlProducts.Controls[0].FindControl("txtProductQty")` will return an TextBox and not an value. Do it by steps, to see what is going wrong. Example: TextBox txtQty = dlProducts.Controls[0].FindControl("txtProductQty"); int qty = txtQty.Value; Debug the code and see if the textbox is found, if it is then you'll get the value. **I …

Member Avatar for JorgeM
0
561
Member Avatar for tibor.marias

It would be ideal if the companies had an webservice that returned the prices, but I don't think they'll have it. Another way, if you have the site that shows the info, is to load the HTML from the site and then parse it to find the info you want. …

Member Avatar for tibormarias
0
182
Member Avatar for <M/>

What do you mean? I didn't understand your problem. A input adress is a text input: `<input type="text" name="adress" id="txtAdress" />` What are you looking for?

Member Avatar for <M/>
0
125
Member Avatar for asrsmunna

I don't think that anyone will code that for you. The forum is for help and discussion, not for us to code for you. If you want help you'll get it, but if you want somebody to do the job for you, you won't.

Member Avatar for EvolutionFallen
0
228
Member Avatar for numele

This should do the trick: var lastSelection = undefined; function handleSelection(choice) { document.getElementById('select').disabled=false; document.getElementById(choice).style.display="block"; if ( lastSelection != undefined ) { document.getElementById(lastSelection).style.display="none"; } lastSelection = choice; }

Member Avatar for AleMonteiro
0
285
Member Avatar for SMode55
Member Avatar for MrXortex

Let me see if I understand: Even if the page doesn't fill the body height, you want the footer to be at the bottom. And when the page fill the body height, or get bigger than it, you want the footer to stay at the bottom of the page (bottom …

Member Avatar for designershiv
0
216

The End.