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 1172 posted 15 years ago by dom111
0 825 posted 15 years ago by jmaties
0 903 posted 15 years ago by dkl3in
0 884 posted 15 years ago by paulstraw
Use Collapsorz
0 989 posted 15 years ago by davebowker
If on do nothing. If on make off. If off make on. Alter external value and focus.
0 1069 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 1130 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 1139 posted 15 years ago by ATLChris
logical action on tree with checkboxes
0 1059 posted 15 years ago by knedle
A quick template for extending javascript/jQuery functionality
1 972 posted 15 years ago by nikefido
A template of a basic jQuery plugin, including over-ridable options
3 1220 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 1054 posted 15 years ago by Meander365
A snippet setup to grab an XML file, parse it, and return the data contained within.
2 1011 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 1480 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 829 posted 15 years ago by prsjohnny
Select the specified option for alle html selects as jQuery.
0 1116 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 1476 posted 15 years ago by verhaeg
Parsing Carrage return with br tags
0 818 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 1195 posted 15 years ago by adriamooney
Incredibly useful. Great when you need to remove and add options to selectboxes.
0 1358 posted 15 years ago by Meander365
0 923 posted 15 years ago by reynish
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 3712 posted 15 years ago by brandonjp
1 ... 13 14 15 16 17 ... 24