Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 ... 15 16 17 18 19 ... 24
0 981 posted 15 years ago by cs2css3
Makes same-page links scroll smoothly instead of jumping around the page.
2 1363 posted 15 years ago by zachdunn
Remember the google CDN for JQuery
0 1055 posted 15 years ago by shibbard
0 1243 posted 15 years ago by Ethyde
swaping main image by clicking thumbs
2 1273 posted 15 years ago by myowin76
1 1400 posted 15 years ago by cfleschhut
0 1152 posted 15 years ago by rumremix
From a blog...
0 982 posted 15 years ago by erickaweb
3 1886 posted 15 years ago by chrisaiv
0 1218 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 1635 posted 15 years ago by alexandrepayet
0 1341 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 1221 posted 15 years ago by tbelknap
execute javaScript only for iphone / ipad / ipod using jQuery, triggered on page load
7 3230 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 1214 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 1376 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 1357 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 1434 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 1540 posted 15 years ago by adamcoulombe
0 896 posted 15 years ago by tscheckenbach
simple jquery show and hide
0 1198 posted 15 years ago by satonthat
Function to reset a complete form to there default value.
0 1257 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 1241 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 1328 posted 15 years ago by frankyfish
0 1119 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 1047 posted 15 years ago by marcelodornelas
1 ... 15 16 17 18 19 ... 24