Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 ... 9 10 11 12 13 ... 24
1 1498 posted 15 years ago by Some0ne
2 2177 posted 15 years ago by BFTrick
You will want to include the jquery easing plugin: http://gsgd.co.uk/sandbox/jquery/easing/ Add a class of 'scroll' to any element that should slide to an anchor tag. You must give the anchor tag an id equal to the name.
1 1930 posted 15 years ago by BFTrick
1 1237 posted 15 years ago by eckbert
Just syntax examples here. First block reads, second writes. Top function just a debugging helper. Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as $(xData.responseXML).find("nodeName='z...
0 2518 posted 15 years ago by rumremix
easy tabs
0 1228 posted 15 years ago by jelontok
simple jquery code to clear form fields
0 1442 posted 15 years ago by jelontok
keeps hover states on for top level dropdown menu items or accordions
1 1613 posted 15 years ago by jelontok
1 1545 posted 15 years ago by cleo
This snippet will replace any "&amp;" within the text of the container your specify with a <span> that you can target with CSS; fancy!
0 1274 posted 15 years ago by dtigraphics
No entiendo xq no procesa esta formulario...? si en lugar de hacer un ajax.post hacemos un div_id.setInnerFBML(formdata); No printa en ajaxMessage nada, lo deja en blanco.
1 1370 posted 15 years ago by estadoactivo
Instead of writing the link in the HTML, just write the email address inside any tag you want (p, spam, div...) with the class "email", and put "[at]" instead "@". This script replace the "[at]" and create the link outside the spam robot sight
1 2023 posted 15 years ago by thefricky
0 1595 posted 15 years ago by rumremix
jQuery bindings for showing and hiding a div during AJAX requests. The div will not show unless the AJAX request takes a certain amount of time (in this case 300ms). This will reduce the flicker effect of showing and hiding throbbers.
1 1694 posted 15 years ago by smchristensen
This is essentially how to detect an outside click for a dialog box on a website, using HTML/CSS/Javascript/JQuery. Essentially you need to understand event propagation how it works throughout the DOM with JQuery, to make this as simple as possib...
0 1684 posted 15 years ago by alvincrespo
# Need $.cookie plugin
1 1502 posted 15 years ago by touffies
0 1524 posted 15 years ago by touffies
http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-display-elements-sequentially-with-jquery/
0 1444 posted 15 years ago by alyssonweb
Simply run the function when the document has loaded and specify setDefault to true.
0 1620 posted 15 years ago by digitalclubb
The most annoying thing I find working with the strict doctype is the inability to send users off to a site in a new window. To combat this, I always use the above snippet. Some people just stick the attribute on the anchors when the page loads...
0 1685 posted 15 years ago by digitalclubb
This extends jQuery.is() so now you can use if ($(element).is())
0 1514 posted 15 years ago by digitalclubb
Great way to check if a node exists before running a piece of code.
2 1862 posted 15 years ago by digitalclubb
This is some very basic jQuery to post from a comment form on a website. I would probably change the .click to .bind("click",) and for different sites I add a success message. This code works with a basic form with text inputs named #name and #email...
3 1864 posted 15 years ago by creativeboulder
0 1717 posted 15 years ago by cornellsteven
1 1413 posted 15 years ago by Sullan
0 1315 posted 15 years ago by timpreneur
Adapted so a delay can be applied on mouseleave.
1 1531 posted 15 years ago by Meander365
1 1419 posted 15 years ago by Sullan
1 ... 9 10 11 12 13 ... 24