Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged plugin
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This plugin will, by default, truncate a block of text down to one line at its current width (if the text block exceeds 1 line). You can also pass in a pixel value and it will truncate it to that width.
0
909
posted 14 years ago by adamcoulombe
Simple plugin to demonstrate how the 'this' keyword is used. Plugin also allows chaining via the 'return'
0
855
posted 14 years ago by 1man
the plugin model in JQuery takes advantage of JavaScript’s prototype inheritance and makes it trivially easy to add new chainable methods
1
646
posted 14 years ago by magicrebirth
This plugin created in order to prepend() numbering to each matched element
1
438
posted 14 years ago by chchrist
adapted from the fantastic „Learning jQuery 1.3“ book
http://www.packtpub.com/learning-jquery-1.3/book
0
713
posted 14 years ago by cfleschhut
function as jquery plugin to test if selector is found on the current page. Sample use:
if ( $("#myID").onpage() ) { $("#myID img").click(function(){ //do this..here.. });
0
685
posted 14 years ago by pixelhandler
Modified the code very slightly to add in cursor states for when the timeline is grabbed. Also added in (but commented out) the code to make the sliding twice as fast using a multiplier.
0
563
posted 14 years ago by davebowker
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
853
posted 15 years ago by 1man