Welcome To Snipplr


Everyone's Recent jQuery Snippets



1 ... 26 27 28 29 30 Next »
Appends a css class to all form input elements on a page by extracting the input type from the element in question.
0 220 posted 12 years ago by stylephreak
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 451 posted 12 years ago by 1man
6 317 posted 12 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 368 posted 12 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 393 posted 12 years ago by 1man
jquery ui/tabs initiation ensures screenreaders can focus content when selecting tabs. Tested using Jaws 8.
3 295 posted 12 years ago by terrencewood
Just add this in script tags in your Affiliate Center footer:
0 279 posted 12 years ago by kickjoel
1 307 posted 12 years ago by muhammet
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 435 posted 12 years ago by 1man
[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 465 posted 12 years ago by jadedbat
Learn how to place a DIV in the exact middle of the screen using this JQuery horizontal & vertical align plugin.
6 427 posted 12 years ago by neal_grosskopf
Converts a standard select box to a clickable image thumbnail list. <code> &lt;select&gt; &lt;option&gt;/images/test1.jpg&lt;/option&gt; &lt;option&gt;/images/test2.jpg&lt;/option&gt; &lt;/select&gt; &lt;script&gt; $('#image').imageSelect();...
1 374 posted 12 years ago by ping_ch
Learn how to display the total number of Feedburner subscribers next to your 'subscribe' icon on your web site.
2 474 posted 12 years ago by neal_grosskopf
Here's a simple example of how to parse RSS feeds using jQuery. You will need jFeed (http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin) and a bit of help from PHP (http://snipplr.com/view/12467/php-capture...
8 461 posted 12 years ago by chrisaiv
Learn how to retrieve a specific url's total number of Diggs using JQuery, ASP and the Digg API.
2 765 posted 12 years ago by neal_grosskopf
Find out how to retrieve a count of the total times users have bookmarked your web site or web page on Delicious by using JQuery and JSON. The code is pretty simple and can be done in under 18 lines of code.
1 534 posted 12 years ago by neal_grosskopf
Removed a certain word from a list of links (purely for design reasons). Link length way to long with the link included.
1 542 posted 12 years ago by 1man
This is a bit of jQuery within a PHP function that you can dump into your Thesis custom_functions.php file to hide comments upon page load and add a link to show them.
2 322 posted 12 years ago by kristarella
Just so I remember the next time..
1 395 posted 12 years ago by stavelin
Here is a basic example as to how to set up an Ajax request.
4 485 posted 12 years ago by chrisaiv
21 1887 posted 12 years ago by garside
This little piece of code will convert to US phone format, as typed. Eg, As the number "0000000000" was typed, it would convert it to (000)-000-0000.
6 1431 posted 12 years ago by xtheonex
Simple snippet to return the keys of an object.
1 457 posted 13 years ago by garside
If you have a lot of javascript you need to load to make your page work, but don't want to load all of it before the user sees your page, you can use this handy script to backload it all.
4 421 posted 13 years ago by garside
A simple but powerful interface for allowing firebug access functions in the jQuery chain. See the link above to check out the functions it accepts.
8 461 posted 13 years ago by garside
1 ... 26 27 28 29 30 Next »