Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 ... 15 16 17 18 19 ... 24
0 926 posted 15 years ago by cs2css3
Makes same-page links scroll smoothly instead of jumping around the page.
2 1297 posted 15 years ago by zachdunn
Remember the google CDN for JQuery
0 994 posted 15 years ago by shibbard
0 1174 posted 15 years ago by Ethyde
swaping main image by clicking thumbs
2 1205 posted 15 years ago by myowin76
1 1324 posted 15 years ago by cfleschhut
0 1088 posted 15 years ago by rumremix
From a blog...
0 913 posted 15 years ago by erickaweb
3 1793 posted 15 years ago by chrisaiv
0 1149 posted 15 years ago by lawlesscreation
ici on souhaite qu'une info s'affiche aux survole d'un <li> mais seulement une fois qu'un délai de 650 millisecondes est passé. Cependant si l'user ne survole plus la zone avant la fin du délai, il faut interrompre l'affichage de l'info. Voilà un...
0 1541 posted 15 years ago by alexandrepayet
0 1266 posted 15 years ago by Mosaic
Sometimes, you need a jQuery tab that will close. Finding the right way to do that has been a challenge for me, personally. This is especially true when you are adding new tabs dynamically. The trick is getting the proper index of the closable elemen...
0 1134 posted 15 years ago by tbelknap
execute javaScript only for iphone / ipad / ipod using jQuery, triggered on page load
7 3139 posted 15 years ago by humanoid
While there seem to be plenty accordion examples built with jQuery, I had trouble finding one that both worked well and was easily styled. UI Tabs is a pain in the ass to modify and adds a crap load of extra DOM elements that must be accounted for wh...
2 1140 posted 15 years ago by jHulbert
on using any wysiwyg editor (f.e. CKEditor) is inserted link to anchor on same page in this form: [a href="#anchor"]text[/a] if on web site is used tag BASE, anchors links are wrong - on all page are on this url: www.domain.com/#anchor this fun...
0 1296 posted 15 years ago by knedle
This overrides a couple core Drupal functions in the autocomplete.js file. It changes the behavior of the autocomplete such that if a user selects an item from the autocomplete menu, it takes them directly to that node instead of just populating the...
1 1268 posted 15 years ago by unravelme1
Don't know if the code is working, it's written from memory, but I think it will work....
1 1358 posted 15 years ago by sbglasius
This jQuery plugin can be used to detect when the user smashes their keyboard. You can set a threshold as to how many keys need to be depressed in order to trigger the event.
1 1448 posted 15 years ago by adamcoulombe
0 837 posted 15 years ago by tscheckenbach
simple jquery show and hide
0 1131 posted 15 years ago by satonthat
Function to reset a complete form to there default value.
0 1176 posted 15 years ago by frankyfish
jQuery plugin that let you specify a maximum length on a text field and optionaly specify the change the focus when that maximum length has been reach. Nice when making multiple input text to create a telephone form. Example: $("#telephone_1").maxLe...
0 1166 posted 15 years ago by frankyfish
What it does is look for img tag and on rollover change the source path from "anyimage.jpg" to "anyimage_hover.jpg". It add the suffix "_hover" at the end of the src name without changing the extension. If you look at the code you will see that it al...
0 1264 posted 15 years ago by frankyfish
0 1045 posted 15 years ago by koetz
Show/hide an paragraph when you click on the h2, suppose you have: <h2><a href="#">Designer info</a></h2> <p>Lorem ipsum dolor sit amet.</p> You can show/hide the paragraph with the code below.
0 990 posted 15 years ago by marcelodornelas
1 ... 15 16 17 18 19 ... 24