Welcome To Snipplr
Everyone's Recent jQuery Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
## PWDefaultValue
This jQuery Plugin allows you to set a label-like default value on an input which is toggled depending on whether the user has entered any content into the input element. Examples and such are available on http://www.pixaweb.co.u...
0
825
posted 14 years ago by minky
## PWFilter
This jQuery Plugin allows you to filter a group of elements based on an attribute via an input element (a live search almost). Examples and such available on http://www.pixaweb.co.uk/resources
0
759
posted 14 years ago by minky
Takes one field and converts the string to a URL-friendly slug in a second field
1
796
posted 14 years ago by jmiller
jQuery
Automatically create drop-down menu with links to the list items at the beginning of long lists
The name of the link should be in strong (or you may change this in the script)
0
1190
posted 14 years ago by certainlyakey
// Taken from :
// http://www.west-wind.com/weblog/posts/42319.aspx
0
668
posted 14 years ago by delikassap
jQuery has a built in method that allows developers to store information inside elements. Learn how to use the .data() method and view some examples of how this can be used.
1
813
posted 14 years ago by neal_grosskopf
Makes same-page links scroll smoothly instead of jumping around the page.
2
735
posted 14 years ago by zachdunn
jQuery
JS, JQUERY : mettre une fonction en queue et annuler l'exécution d'une fonction en queue avec queue(), dequeue(), clearQueue()
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
968
posted 14 years ago by alexandrepayet
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
713
posted 14 years ago by tbelknap