Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 ... 13 14 15 16 17 ... 24
So recently I was asked to change a navigation style of an existing site to drop-down menus. Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
0 1390 posted 15 years ago by dom111
0 1010 posted 15 years ago by jmaties
0 1123 posted 15 years ago by dkl3in
0 1096 posted 15 years ago by paulstraw
Use Collapsorz
0 1240 posted 15 years ago by davebowker
If on do nothing. If on make off. If off make on. Alter external value and focus.
0 1257 posted 15 years ago by davebowker
There are many ways to have jQuery open external links for you. Some depend on relative URL\'s for internal links and absolute URL\'s for external links. Some analyze the link to see if it matches your domain. These are great but can sometimes be con...
0 1518 posted 15 years ago by scribbleitdesigns
This is just a basic example of how you would allow navigation via left/right arrow keys. This is most commonly used when navigating multiple-image image galleries.
1 1439 posted 15 years ago by ATLChris
logical action on tree with checkboxes
0 1303 posted 15 years ago by knedle
A quick template for extending javascript/jQuery functionality
1 1191 posted 15 years ago by nikefido
A template of a basic jQuery plugin, including over-ridable options
3 1493 posted 15 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 1267 posted 15 years ago by Meander365
A snippet setup to grab an XML file, parse it, and return the data contained within.
2 1237 posted 15 years ago by joshharbaugh
Hijack (Ajack?) links within an element so instead of booting you to a fresh page it loads the information to a specified DIV. If you have any suggestions on how to make it better then let me know
5 1728 posted 15 years ago by reynish
Display a default value in a text field that disappears on focus and reappears on blur **if** the field is blank.
0 1032 posted 15 years ago by prsjohnny
Select the specified option for alle html selects as jQuery.
0 1406 posted 15 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 1762 posted 15 years ago by verhaeg
Parsing Carrage return with br tags
0 1002 posted 15 years ago by Sullan
this shows you how to use localStorage to have a page remember content that has been edited with the html5 attribute, contenteditble
0 1408 posted 15 years ago by adriamooney
Incredibly useful. Great when you need to remove and add options to selectboxes.
0 1664 posted 15 years ago by Meander365
0 1163 posted 15 years ago by reynish
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 4127 posted 15 years ago by brandonjp
1 ... 13 14 15 16 17 ... 24