Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged javascript



A quick template for extending javascript/jQuery functionality
1 889 posted 14 years ago by nikefido
A template of a basic jQuery plugin, including over-ridable options
3 1122 posted 14 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 925 posted 14 years ago by Meander365
Select the specified option for alle html selects as jQuery.
0 1020 posted 14 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 1297 posted 14 years ago by verhaeg
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 3454 posted 14 years ago by brandonjp
0 868 posted 14 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 1215 posted 14 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 1766 posted 15 years ago by Nettuts
forms part of our Calibre Remote. an alternate gui for calibre ebooks content-server.
0 782 posted 15 years ago by minky
0 894 posted 15 years ago by aviddv1
0 736 posted 15 years ago by cs2css3
0 723 posted 15 years ago by cs2css3
swaping main image by clicking thumbs
2 947 posted 15 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 1194 posted 15 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 1059 posted 15 years ago by knedle
simple jquery show and hide
0 898 posted 15 years ago by satonthat
Function to reset a complete form to there default value.
0 876 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 895 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 1008 posted 15 years ago by frankyfish