Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged javascript



A quick template for extending javascript/jQuery functionality
1 516 posted 13 years ago by nikefido
A template of a basic jQuery plugin, including over-ridable options
3 710 posted 13 years ago by nikefido
A small plugin that you can use in the jQuery chain to delay the next in queue. For those using a jQuery library pre 1.4 (v1.4 + has .delay() ). $('.notice').fadeIn().idle(2000).fadeOut('slow');
0 548 posted 13 years ago by Meander365
Select the specified option for alle html selects as jQuery.
0 651 posted 13 years ago by pogosheep
I found this really useful when using AJAX that will change database. Preventing the user to re-do the action is not the best way but it still is a little unobtrusive to the user as it lets him navigate the page and know what is going on.
2 810 posted 13 years ago by verhaeg
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 1209 posted 13 years ago by brandonjp
0 442 posted 13 years ago by genseric
Related Categories: jQuery, Tips We've all heard the best practices recommendation to load jQuery (or other JavaScript libraries) from a CDN, such as Google's for performance reasons. But what happens if, in the rare chance, Google's network is do...
2 764 posted 13 years ago by stancox
This is a simple way to scroll to the top of the page, when an anchor tag has been clicked. Note that we must "return false," in order to disable the default browser action.
1 1274 posted 13 years ago by Nettuts
forms part of our Calibre Remote. an alternate gui for calibre ebooks content-server.
0 440 posted 13 years ago by minky
0 541 posted 13 years ago by aviddv1
0 433 posted 13 years ago by cs2css3
0 397 posted 13 years ago by cs2css3
swaping main image by clicking thumbs
2 591 posted 13 years ago by myowin76
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 804 posted 13 years ago by alexandrepayet
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 667 posted 14 years ago by knedle
simple jquery show and hide
0 554 posted 14 years ago by satonthat
Function to reset a complete form to there default value.
0 510 posted 14 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 511 posted 14 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 598 posted 14 years ago by frankyfish