Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1066
posted 14 years ago by dom111
If on do nothing. If on make off. If off make on. Alter external value and focus.
0
948
posted 14 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
986
posted 14 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
905
posted 14 years ago by ATLChris
A quick template for extending javascript/jQuery functionality
1
879
posted 14 years ago by nikefido
A template of a basic jQuery plugin, including over-ridable options
3
1115
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
921
posted 14 years ago by Meander365
A snippet setup to grab an XML file, parse it, and return the data contained within.
2
917
posted 14 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
1341
posted 14 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
748
posted 14 years ago by prsjohnny
Select the specified option for alle html selects as jQuery.
0
1016
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
1291
posted 14 years ago by verhaeg
this shows you how to use localStorage to have a page remember content that has been edited with the html5 attribute, contenteditble
0
1066
posted 14 years ago by adriamooney
Incredibly useful. Great when you need to remove and add options to selectboxes.
0
1225
posted 14 years ago by Meander365
jQuery
jQuery dynamic loader - load jquery using pure js javascript if jQ is undefined or does not exist
0
1289
posted 14 years ago by brandonjp
jQuery
js javascript browser language detection, get the user\'s browser\'s language preference setting using jquery to detect users br
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1
3450
posted 14 years ago by brandonjp