Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 ... 15 16 17 18 19 ... 24
0 719 posted 15 years ago by cs2css3
Makes same-page links scroll smoothly instead of jumping around the page.
2 934 posted 15 years ago by zachdunn
Remember the google CDN for JQuery
0 748 posted 15 years ago by shibbard
0 897 posted 15 years ago by Ethyde
swaping main image by clicking thumbs
2 940 posted 15 years ago by myowin76
1 1022 posted 15 years ago by cfleschhut
0 839 posted 15 years ago by rumremix
From a blog...
0 702 posted 15 years ago by erickaweb
3 1320 posted 15 years ago by chrisaiv
0 886 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 1188 posted 15 years ago by alexandrepayet
0 972 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 925 posted 15 years ago by tbelknap
execute javaScript only for iphone / ipad / ipod using jQuery, triggered on page load
7 2390 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 894 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 1053 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 976 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 976 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 1087 posted 15 years ago by adamcoulombe
0 638 posted 15 years ago by tscheckenbach
simple jquery show and hide
0 894 posted 15 years ago by satonthat
Function to reset a complete form to there default value.
0 869 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 884 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 1005 posted 15 years ago by frankyfish
0 793 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 769 posted 15 years ago by marcelodornelas
1 ... 15 16 17 18 19 ... 24