jquery

"http error" when using Uploadify plugin for JQuery

I'm using the plugin from here: http://www.uploadify.com/ I have setup a simple test case, select a file etc & I get a "HTTP Error" when I try to upload. Here is the relevant code from my header.. <script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript" src="../js/swfobject.js"></script> <script ty...

jquery ajaxStart not working

If you click on the click here to order button here: http://www.game onglove.com/ gog/ test3.html, and then click the same button on the lightboxed window that pops up, an ajax request will run using $.post(). You can hit "continue shopping" to return to the previous lightboxed window to quickly start over. If I execute the jquery code...

JQuery Rotating Text

Hi, I have some text that i need to rotate, this is what i have now: > <div id="facts"> > <blockquote class="fact visible"> > xxx > </blockquote> > <blockquote class="fact"> > yyy > </blockquote> > <blockquote class="fact"> > zzz > </blockquote> > ...

Two Forms on one page MVC

I am having jQuery tab control and first tab has a edit form and other tab is where users can upload images.Problem is that when I am on second tab and try to upload image it always validates the first form also. First tab Edit Form: <% using (Html.BeginForm()) {%> Second tab Form: <% using (Html.BeginForm("UploadImage", "Images", F...

drupal, Jquery plugins and IE6/ IE7

Hello. I have a number of Jquery plugins being called through my Drupal Acquia Marina theme .info file. They work fine in all popular browsers with the exception of IE6 and IE7, in which they don't appear to load at all. Some of the plugins are very basic, like the following slidetoggle, which like all of them, exists as a a .js file ...

How can I execute a setTimeout() only when the user is present (with the mouse movement) with jQuery

I have a function that updates a <div /> via AJAX: function update() { <!-- .ajax() --> setTimeout(update(), 3000);} } What I need is that this is not executed when the user is not present on the website, so if there is no movement of the mouse (we will suppose that if move it is in the website) it will not update .mousemove(...

Making jquery tmpl without a lot of extra script tags.

I've been reading about the jQuery template plugin http://api.jquery.com/tmpl/ as a means of binding data to markup. All the examples seem to show that you define the template in a script new script tag. I'd actually prefer not to clutter my html <head> with all those script tags. Is there a better way to organize this? Maybe with a tem...

Is it possible to animate scrollTop with jQuery?

I want to smoothly scroll down. I do not want to have to write a function for that - especially if jQuery already has one. ...

How to make jQuery Beauty Tip stay open as long as the cursor is over the tooltip text?

I am using jQuery beauty tips (which is also using hoverIntent plugin) and I would like to display an href link inside the tooltip text and allow the user to click on the link. However, as soon as we leave the anchor, the toottip text disappears after some timeout (that we can define) So I would like to keep the the tooltip text opene...

JQuery UI Datepicker Adding Code Before </body> - Messing Up Layout.

Hello, I'm using JQuery UI for various things, one being the datepicker. I've notice it's adding this div at the end of my page: <div class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible" id="ui-datepicker-div"></div> just before the </body> tag. Which leaves a 40px-ish gap at ...

display loading graphic while iframe loads content from other domain

I need a loading graphic to appear for pages in a lightboxed iframe with a different domain than the parent (checkout.netsuite.com). The pages that aren't triggering the graphic aren't requested via ajax (ie. no $.post()). The page that does correctly call the loading graphic is requested via $.post(). 3 steps to see the difference betw...

Timeout a function in JavaScript/jQuery

Hello everyone I've got the following problem: I'm using Google Maps on my site. I've attached the following eventListener to the map itself: google.maps.event.addListener(map, 'bounds_changed', scheduleDelayedCallback); The event bounds_changed is called every time someone drags the map. My Problem is, that it is called several tim...

make menu like skype?

How do you make a menu like http://www.skype.com/ (Mouse over the menu and the menu appears...) ...

Creating new elements with jQuery using $(html, props) and attaching .data

I am creating a list item on the fly using the object notation (http://api.jquery.com/jQuery/#jQuery2) and I would like to be able to add a jQuery .data() (http://api.jquery.com/data/) to it. I have the current code: $('<li>', { id: 'filter', text: 'Data Filter 1', click: function() { filter['jQuery_...

Creating html element with jquery, how can I get element's width?

I'm creating html element using jQuery like so: var newListItem = $("<li>" + variableName + "</li>"); var widthOfNewItem = newListItem.width(); //<-- will return 0 How can I find this new elements width? I'm trying to call newListItem.width() but that returns 0. ...

Alternatives to Ajaxy

Having struggled with numerous bugs in Ajaxy for the last few days, I'm wondering if there are any alternative, preferably lighter solutions. Ajaxy also keeps a record of every page state in memory until the page is fully refreshed, this is integral to its working so can't easily be stripped out. Unfortunately this means it is not suita...

How do I figure out when a table row is first or last using jQuery

I have a table where users can move items up or down by one. I'm trying to disable a Move Item Up By One and Move Item Down By One buttons when a table row reaches the top or the bottom (becomes first or last). I don't know how to determine when a <tr> Item has reached the top or the bottom of the table. This is what I'm using at the mo...

javascript/iphone/mobile two-finger-touch question.

I'm building a website with some touch events and need to know how to make my touch events* only work when only 1 finger is touching (*these events prevent default), but I want to disable these events and restore defaults when 2 fingers are touching (to allow zooming, and keep the 1 finger events from being confused by 2 fingers). Examp...

jQuery Form Problem

Hello. I have developed a form using jQuery, HTML and a C# and ASPX back-end. It works fine on Firefox and other Web browsers but if fails on Internet Explorer and don't know why. I have tryied everything. The URL is Web Form Any ideas?? Thanks!! ...

Update ASp.net gridvidew without postback without update panel!

Hi. Is there any solution to update asp.net gridview without postback and withput update panel? or update partial page without update panel? for example with jquery. thanks ...