• Help finding a line drawing program

    I'm creating a website where users outline strategies for other users to follow in a  video game. (rift, WOW, LOTR online). I'm hoping to find a plugin that will allow users to draw lines over a map which i supply. Then i could save the image they drew. Any chance any one knows of a plugin that does this? I'm not sure i would have the technical skills to make such a thing.
  • Callback without animate

    I want to call a callback after a delay but at the moment I have to write something like this to repeat the last animate with 1ms time. elem.animate({top:100},1000).delay(1000).animate({top:100},1,mycallback) What I what is something like: elem.animate({top:100},1000).delay(1000).mycallback() There must be a command for that but I can't find it.
  • Check whether an image is in the cache?

    When using the function to switch images as shown below, I want to check if the image is already in the cache to prevent showing the css .loading class. The .complete() object just made a lot of trouble but I couldn't use it probably.  The switchImage Function is fired when pressing a thumbnail or a prev/next button. Is their any solution to check whether the image/url I want to load is already in the cache? switchImage = function(){ var currentPath = $active.attr("href"); $('#largeImg').fadeOut('fast',loadContent);
  • Icons in listview are not clickable in a4

    With the new way of handling clicks in listviews, the icons do not register clicks.  The rest of the line is clickable (if you make sure your <a> wraps all the entry's content), but the icon itself is not.
  • Using validate and ajax load on the same button

    Hey there guys, check out this Ajax code: [CODE] $('#checkout').click(function()  {       $holder = ($('#details').serializeArray()); //gets everything from the form and puts it in associative array (holder)     $.ajax({         type: 'POST',         url: 'index.php?route=payment/check/confirm',   //send array data to payment/check method confirm         data: $holder,         success: function() {             location = '<?php echo $continue; ?>';       //if successful then proceed         }    
  • Title tag text disappearing in Alpha 4

    In switching from alpha 3 to 4 today, I noticed that when testing in Firefox (3.6.16), the title for my mobile site isn't showing up in the Firefox tab anymore. Confirming that the title has disappeared, I tried saving the page to my home screen on my iPod Touch (the most recent release with retina display). When saving to the homescreen, iOS uses that title tag as the name for the app icon. Just like in Firefox, that field was now blank. In alpha 3, both the Firefox tab and the app icon title work
  • Creating a right click menu?

    I am creating an app and need the functionality that would allow the user to right click a div element and then produce a little menu. For this i am trying to use the wdContextMenu to create it as it looks really impressive. The problem i have is assigning the functionality to a div element when using an the initialize() of a MooTools class. With my app i first create an object that during initialization creates two seperate div elements. I would then like to assign them two seperate menus when each
  • valHooks discussion pros/cons

    I believe there are many advantages to valHooks.  Scott Gonzalez seems to have the most objection. Notes from the pull request: Val is restructured to support extension of getters/setters Additions: jQuery.fn.valHook( obj ) Override the default value getter/setter for the given elements @param{Object} obj An object containing a get and/or a set function jQuery.fn.removeValHook() Remove the valHook from data and revert back to default. checkValHooks( elem, type ) Private: checks for a special valHook
  • Fancybox - adding links to external sites in inline content not working

    I'm using Fancybox to display my portfolio projects. When you click on a project it opens a hidden div of inline content that contains an image of my project and a description with a link that will open an external link in a different window/tab. The link doesn't work at all. I've tried researching this problem and can't seem to find anything that will get this to work. I'm not sure if this would cause it to not work, but my html to open up fancybox is within a div that is using a jQuery toggle hide/show
  • Adding Additional Controls to J-Media Element

    I was wondering if it was possible to add a Next/Previous button to the playlist?
  • Multiple Formats or Multiple Playlists Music Player in J-Media Element

    I was looking at the j-media element plugin and saw that it supports music playlists and having multiple formats as seen here:  Multiple formats in the last example: http://www.protofunc.com/jme/documentation/documentation-getting-started.html and playlist demo: http://www.protofunc.com/jme/demos/audio-playlist.html I was wondering how one could integrate the two? Either by having a format selector on each song? Or more preferably having some kind of universal selector at the top which selects the
  • A4 hashListeningEnabled=false breaks back button?

    I would like to use the new feature in A4: hashListeningEnabled (boolean, default: true): However, changing it to false causes the back button to stop working, this includes the browser's back button to stop working as well! (in IOS 4+). Is this expected behavior? 
  • JS lib reference needs tweak in documentation

    On this page: http://jquerymobile.com/demos/1.0a4/#docs/pages/docs-pages.html The js references need to change from : http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a3.min.js to this: http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.js Thanks, Chris
  • Make the page follow the mouse' X axis

    Hi I'm a total noob at jQuery and JS. <-- Just thought I'd set that out before continuing :P I have a horizontal gallery, where the div technically goes off the page, it can be scrolled with the horizontal bar at the bottom. I'd really like it if when you begin to move the cursor to the right, the page begins to scroll along, and depending on how close to the right (or left) of the screen, depends on the speed and direction. So basically, auto scrolling! :) I've seen it before so I know it's possible...
  • Alpha 4 Sub Page error

    I just upgraded one of my apps from Alpha 3 to Alpha 4.  I have one page that is a list page with a series of links. Each link goes to a subpage.  In Alpha 3 clicking on one of the links from page xyz correctly goes to xyz#subpage.  In Alpha 4 this seems to be taking me to xyzsubpage#subpage.  That is, it is inserting the name of the subpage before the hash AND after the hash. This causes the app to break.  Is this peculiar to my app or are others seeing this as well?
  • .click event with dropdownlist items

    Hi,       I have the following asp.net code:       <asp:DropDownList runat="server" ID="dealerList" ClientIDMode="Static">                 <asp:ListItem >Option 1</asp:ListItem>                 <asp:ListItem >Option 2</asp:ListItem>                 <asp:ListItem  Value="other">Other(Note below)</asp:ListItem>       </asp:DropDownList>       <br />       <asp:TextBox runat="server" ID="dealer" Visible="True" ClientIDMode="Static"></asp:TextBox>                   and the following jquery code:      
  • drag slider

    Hi, I'm having problem in making this slider. The slider would be something like http://www.netzbewegung.com/ my main problem is that the auto centering of the slide when draged. see my test site here. http://myimagehost.zxq.net/slide_drag/ ... var x=$(window).width()-$('#slide-box').width();     $('#slide-box ul').bind('drag',function( event ){             $( this ).css({ left: event.offsetX-(x*0.5)});      });           $('#slide-box ul').bind('click', function(){         var $win=$(window).width();
  • jquery validate plugin and errorPlacement

    Hi, I am using jquery validate plugin to validate my form fields. I have here a simple working form Form1 My form2 is the same form with the jqtransformplugin for more good design. But the problem now is the error message displayed into the field. I have make 3 Divs <div id="NameError"></div> <div id="EmailError"></div> <div id="CommentError"></div>   And I wand display the error messages into this divs How can I make this possible?? How I make the errorPlacement to display the errorPlacement: function(error,
  • Iterate table rows and sum input field

    I have a table with three columns and want to sum all fields of the third column where the second field are the same. All sums should then be written to another existing input field that has the id of the second column. Here is my code so far. Any help to complete is nice. $("#table tr").each(function() { //iterates through each row in a table      var name = $(this).find("input:eq(1)").val(); //value of second inputfield (namefield)             var amount = $(this).find("input:eq(2)").val();//value
  • plugin FADETO conflicting with website

    Hello everybody, I'm not an experienced programmer and I have a small issue using the plugin http://api.jquery.com/fadeto/. I hope someboidy can look into this. I have a website www.nelpaesedelvino.com to which I want to add an intro page (just an image). I am testing the plugin with www.nelpaesedelvino.com/intro.htm in which I have added: #intro {position:absolute; top:0; left:0; margin:0; padding:0; overflow:hidden; z-index:100;}   <body> <div id="intro"><img src="images/intropage.jpg"></div> <script>
  • Change transition when redirecting pages from the server-side.

    Hi, I have rails app using the jquery mobile framework. In one of my pages, I have a form and a submit button, which sends the data to an action on the server-side. The server, then, inserts the new entry into the database and redirects to a page that lists all entries. The redirection is accomplished by using the default slide transition.  I've tried to send the data through ajax and, at first, it solved my problem, since the redirection was done on the client side and I was able to set the pop
  • IE Issues w/ jQuery News Ticker

    Hi. :) I'm using the jQuery News-Ticker plugin for Wordpress. In IE, I'm getting this white box that's overlaying my text. I have tried just about every HTML/CSS trick I know, and even set the cleartypeNoBg to true, all without any success. Every other browser I have tested seems to work fine. Can anyone help me figure out how to get this fixed? Here's a link (It's in the 'Newswire' section, just below the header): http://tinyurl.com/3u5a3pg Any help would be greatly appreciated! Thanks.
  • image slider that actually slides

    I'm a php programmer, and i have no idea on how jquery works, i just use some pre made jquery sliders most of the time, so forgive my stupidity. I'm using NIVO slider, and its just the way i wanted a image slider to be: -fade transitions -navigation buttons on sides -mouse over pauses slide -bullets to jump to slide i want i just wanted one thing, i wanted the images to slide to the side or something like that, instead of being static. is it possible with jquery? better, is it possible to change
  • Multiple OnReady Events Writing Code to Wrong DIV Tags When Back Button is Click

    Hi, I have a series of ASP.Net sites that use jQuery in UserControls to write banner ads to pages post DOM load. It works great when landing on a page for the first time or when navigating to a page using a link. Unfortunately when going back to a page using the back button in a Firefox browser it will write content to the wrong div tags all of which are unique. My code is either for writing script tags, iframes, or images wrapped in a hyperlink. I also use the lazyloadads plugin for Bidvertiser
  • How to get the id of a div by using attr("id"); ?

    index.php    if (idx == 8) {         var str="<?php echo $username1; ?>";         document.write(str);             jQuery.get("usermessage.php?username="+str, function(data) {                 document.write(data);                 var msgIDss = $(".messagepiece:last").attr("id");                 document.write(msgIDss);                });     } usermessage.php <?php $username1=$_GET["username"]; $query2 = "SELECT id, message, datetime FROM messages WHERE username='{$username1}' ORDER BY id";        
  • Animate position

    Hello, i want to animate a div with fixed position. If i do this: animate({ top: 0, left: 0}) and then: animate({ right: 0, bottom: 0}) the second animation doesn't works because there are still top and left... how to set that to "auto" with a correct animation? Thanks.
  • Problem with FadeIn() while the text is fading in IE7,IE8

    I got a problem with FadeIn() function in IE7, IE8. The problem is when the text is fading in (not after faded). It got a bad quality font like you can see below. (the text color is black) This problem appears oviously when the text size is 20px. I found one way to solve (setting the background color of the text). But what about any other ways without setting the background color ? I have tried removing ClearType (before and after, before, after animation). But it doesn't take any effects. Thanks
  • binding form submit event on a "dynamically" created form

    I am creating a "dynamic form" with jquery.append( '<form id = "dyn_form" action='' method='POST'....') .  The form.submit( function( event ) {} ) does not bind the submit event handler immediately after the append returns. However, if I call the form.submit( ... ) after a random 1/2 second delay the submit event handler is bound correctly. Currently my code looks like this, $('#form_container').append( '<form id = "dyn_form" action='' method='POST'....'); if( $('#dyn_form').length ) {   $('#dyn_form').submit(
  • Scaling?

    I am new to jquery and jquery mobile so please don't beat on me to much for not knowing this. I downloaded a template from MiamiCoder and tying to get it to work on my iPhone. It looks good on my mac, but when I view it on the iPhone is scales down so small I cant read anything. Is there a easy way to make it fit to the screen size?
  • Combining two different effects...

    Hi, i'm completly new to this kind of stuff and now i have a (little) problem. First of all i had done a Accordion with Tabs like here: http://flowplayer.org/tools/demos/tabs/accordion.html Thats currently working. I split every head/title of the 3 panes in 2 parts (div), first the name of the head-pane, e.g. "First Pane" and a div-container for a navigation... I want that the navigation part fade in of the current activating pane and the other navigations should be fade out. It's not easy to explain
  • .replace() not working on attributes in HTML string

    I'm building a form that include a button to clone one of the sections. It clones fine, but I need to run a replace on it to update the numbering on all the name, id and for attributes in the new html (before writing it out). The best it does is replace the content text, it won't seem to touch the tags. Here's my code:     var blank_post_type = $('div.post_type'), p=1; //get the default contents on page load     $('#new_post_type').click(function(){         p++;         $(this).before('<div class="post_type"
  • how to avoid repeat many effects

    I have this example .contenido div{ height:150px; width:300px;} div.uno{ background-color:#000; color:#FFF;} div.dos{ background-color:#0F0;} <div class="contenido"> <div id="uno" class="uno">primer contenido</div> <div id="dos" class="dos">segundo contenido</div> </div> but when here's the August number is repeated as many times as I did here I just want that when the span tag shows the layer DOS is doing more effects UNO ago can explain me as to correct this error excuse my English is terrible
  • Alpha 4 Dialog no longer working on Android??

    Hi, is anyone else finding this: on an Android phone, upon switching to Alpha 4, the contents of a Dialog flicker up momentarily, then disappear. Reverting back to Alpha 3 and the dialog contents appear as expected. Will see if I can test this is also an issue on an iPhone on Monday. thanks Matt
  • What happens with open tickets in closed milestones?

    I'm wondering about this question for some time now - what will happen to all those still open tickets in already finished milestones? They look abandoned to me, they should be either closed if they are already fixed, or moved to 1.next or closest next milestone. For example this one:  http://bugs.jquery.com/query?status=reopened&status=assigned&status=new&status=open&status=pending&group=status&milestone=1.4 Or even this one: http://bugs.jquery.com/query?status=reopened&status=assigned&status=new&status=open&status=pending&group=status&milestone=1.5.1
  • alert box popping up when button or link is pressed using 1.0beta-pre testing on iPhone

    Hiya, Every link I click on within my app, be it a button, other forms of links, I get this delay then an alert box stating http://127.0.0.1 false <ok> I get the message in the iPhone emulator and on device. The app behaves fine in all other respects. When I switch back to 1.0a3, I don't get this issue. Its being caused by the mobileinit method. Here is my implementation. When I comment this code out, I get the loadingMessage (which I think I might be able to live with anyway but...) and I do not
  • JQuery IE8 problem

    Hi, I'm attempting to write a video player interface which uses fancybox amongst a few other flash player elements. I have a right div that contains video titles when clicked will open a new video in the primary window on the left. The code works perfect in Firefox, Safari, etc, however IE8 displays an "Error on Page" message and won't render the video I click on. Here is the script. It's pretty basic. My question is,,, is there an alternative form I'm supposed to use for the click event since it
  • jsperf.com VS real world performance

    I've been working on optimizing the JS of a very large site which uses jQuery, and as a part of that I'm regularly visiting jsperf.com to benchmark how one snippet performs against another. Obviously, using standard DOM methods to get elements will always be faster than jQuery - and these tests demonstrate that - but I'm wondering if anyone on the jQuery team has any comments on what the results of these tests mean in the real world. For example, using $(document.getElementById('foo')) instead of
  • Google Ajax API down for latest version?

    http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js Gives me a 404... Did I miss the news about the versioning changing? When I specify a specific version number, it works.
  • Click event not working after replaceWith

    I have the following HTML:        <div class="content"><button class="showalert">Show Alert</button></div>      <button class="blaat">Test button</button>   With this jQuery code:    $('.blaat').click(function() {   $('.showalert').replaceWith('<button class="showalert" name="test">Show New Alert</button>');  });  $('.showalert').click(function() {   alert('aaa');  }); When i start with pressing on the 'Show alert' button i get prompted with an alert message like it should. After that when i press
  • jquery ui resizable

    is it possible to use percents  and get percents instead of sizes in pixels for the width and height of a resized box ?
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of