Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a cut down example using custom tabs (you can easily add a custom ajax event to load in content - just follow Ben Alman's example).
0
1487
posted 14 years ago by Meander365
When injecting via jQuery HTML content which contains script tags referencing external scripts, which are then referenced via scripting elsewhere in the injected HTML, some browsers (Chrome) will not wait for the external scripts to load causing the...
2
1770
posted 14 years ago by harikaram
This is a simple little content fader I created using jQuery. It is very simple and not browser intensive. It utilizes callback functions on the fadeOut to execute the fadeIn of the next content block. To reference the HTML src that goes a long with...
2
961
posted 14 years ago by chrislorenz
Nice jquery script to check if a file exists, written by ambitionlab
3
1592
posted 14 years ago by thefricky
More info on SO: http://stackoverflow.com/questions/4061489/jquery-duplicate-field-input-text-in-real-time
1
1446
posted 14 years ago by logic-unit
A jQuery plugin that adds the .spiral() method, wich moves an element along an archimedean spiral path.
3
1967
posted 14 years ago by claudiowebdesign
Useful snippet i found on a forum, use it to check to see if a user is old enough to submit a form.
2
1768
posted 14 years ago by 1man
This javascripts stops you from clicking on a nav link when there's a submenu below it, and it adds a class of "noclick" to the link, which you can use with CSS to change the cursor and background colour etc.
.menu a.noclick:hover {cursor:default;}...
2
979
posted 14 years ago by kristarella
This is a two file video player. I use JSON to get the list of videos from a user, then when a thumbnail is clicked, an AJAX request is sent with the id of the video, and an oEmbed response is sent back.
4
1246
posted 14 years ago by mloberg
This snippet of code is probably the most common and _valuable_ in the world of jQuery.
1
1268
posted 14 years ago by creativeboulder
Instead of putting "1.4.2" or whatever in the src, if you just put "1", you'll get the most recent version. At least until they release v2.
1
1193
posted 14 years ago by matula
Trigger a .Click when you hover over an $(\'#element\')
0
1083
posted 14 years ago by nicktheandroid
This is a very useful piece of code (html, css, jquery) to have a nice animated floating menu on your page. I totally love it.
I used it with jquery 1.3.2 and up
3
1322
posted 14 years ago by e11world
This one worked for me and I thought I'd share it with the rest of you!
2
1581
posted 14 years ago by e11world
Add rel="external" on link you would like to open in a new window
1
1034
posted 14 years ago by gerhardsletten