Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 37 38 39 40 41 ... 44
1 1021 posted 16 years ago by Uzbekjon
I used this simple snippet to enable users to "View More Info" which was embedded in a div below each of a list of items. This is different from many of the simple jQuery examples that only allow you to show/hide one particular div.
1 1152 posted 16 years ago by aristoworks
1 978 posted 16 years ago by michaelfox
0 1028 posted 16 years ago by davebowker
Testing if toggle has happened.
0 782 posted 16 years ago by davebowker
This script preloads images in your document or lets your to preload images by their url and insert or append them in your DOM tree later.
5 1111 posted 16 years ago by Uzbekjon
This was not written by me, but Jeffrey Olchovy. I uploaded it here because his blog messes up the quotes.
10 1464 posted 16 years ago by oscargodson
really simple random bg image. Save images starting at 1.jpg. Put in your jquery selector. Etc, etc.
8 1404 posted 16 years ago by ira
Extracts a string paremeter from the url query string. Basic operation wont handle multiples such as radio buttons etc. Just gets the first instance of the name and returns it's value.
1 875 posted 16 years ago by kouphax
Allows the user to bind an event into a certain position in the call stack for events.
3 1324 posted 16 years ago by garside
bring back the old browser detection
1 1344 posted 16 years ago by localhorst
Great little snippit to add a <tr> to the bottom of a table. Note the use of the context in the jQuery e.g var n = $('tr:last td', this).length; Will have to use this in the future, very good to know!
4 2042 posted 16 years ago by 1man
Lets you get YouTube video scene images by video id or youtube video url using only javascript OR jQuery.
5 2257 posted 16 years ago by Uzbekjon
Appends a css class to all form input elements on a page by extracting the input type from the element in question.
0 555 posted 16 years ago by stylephreak
include document ready and standard code to run swfobject smoothly in IE6
1 1134 posted 16 years ago by apro2000
A very simple plug-in I wrote to make x number of columns equal height. Looks for the column with the biggest height then sets the rest to the same. I'm sure it can be made cleaner, will look into that later.
4 1396 posted 16 years ago by 1man
6 1041 posted 16 years ago by joeydi
Adding a namespace to an event can make it easier to unbind. It is very easy to unbind all events with the same namespace.
1 1213 posted 16 years ago by 1man
Never used the index() method in jQuery but could be useful to know. Find a selected elements index when you click on it. Note the $('ul#mylist') inside the index method, gives the search some context of where to look for .selected, saves looking thr...
1 1189 posted 16 years ago by 1man
jquery ui/tabs initiation ensures screenreaders can focus content when selecting tabs. Tested using Jaws 8.
3 891 posted 16 years ago by terrencewood
Simple imagefader to rotate around a few images. Seem to be doing this a lot in various projects so decided to put something a bit more generic together. Uses jQuery. Images named as car1.jpg, car2.jpg, car3..... etc.
3 1326 posted 16 years ago by 1man
Starting from jQuery 1.3
1 1189 posted 16 years ago by omixen
5 1170 posted 16 years ago by johnloy
[Video Example](http://screencast.com/t/L6E0xI0J5P) A cross browser image caption on mouseover. Using jquery, CSS. This is a bit crude but pretty simple to implement. Just change the image width, some css to match that image size and create dyn...
4 1410 posted 16 years ago by jadedbat
Simple function for turning RETURN key presses into TAB key presses. Focuses input element next in the DOM (usually makes sense), unless we are at the end of the form, at which point it focuses the first element in the form for cyclical purposes.
2 3185 posted 16 years ago by kouphax
Simple jQuery snippet for cleanly and automatically setting up your google analytics
4 1153 posted 16 years ago by garside
Learn how to place a DIV in the exact middle of the screen using this JQuery horizontal & vertical align plugin.
6 1162 posted 16 years ago by neal_grosskopf
1 ... 37 38 39 40 41 ... 44