Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged javascript



1 ... 25 26 27 28 29 ... 33
0 444 posted 15 years ago by vasilije
Update: Fixed a bug at the basic click() function.
1 553 posted 15 years ago by Wiederkehr
Example: `var result = "Hello {0}! This is {1}.".format("world","foo bar");` Returns: `"Hello World! This is foo bar."`
2 905 posted 15 years ago by jasonseney
A simple countDown class in Javascript:
1 710 posted 15 years ago by gfazioli
These functions allow you to easily set a handler for a virtual mouseleave/enter event. This requires my [MouseBoundaryCrossing](http://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution/) class.
1 606 posted 15 years ago by wizard04
jQuery Plugin for returning selected DOM Nodes in DOM order. e.g. $('img.L,img.Y') will not be guaranteed DOM order (usually all the L's then all the Y's). Currently only works with IE and FF (that's all I needed).
1 709 posted 15 years ago by kouphax
The only function the Tag Cloud singleton exposes it the process() function which take 3 arguments. 1. Cloud Data - Required. Needs to have a display value property and a count property. The actual property names are configurable but by default...
0 622 posted 15 years ago by kouphax
When you're viewing an older version of a snippet, the Plain Text and Highlighted Text links point back to the latest version. This greasemonkey script fixes those links to point to the version you're currently viewing.
0 559 posted 15 years ago by wizard04
jQuery Sketch Plugin
1 693 posted 15 years ago by gfazioli
Sniff and disable Firebug. Not sure why you'd need it though. Firebug is just great.
4 704 posted 15 years ago by zerolab
Description print_r - Prints human-readable information about a variable mixed print_r( mixed expression [, bool return] ) print_r() displays information about a variable in a way that's readable by humans. Parameters * expression...
0 619 posted 15 years ago by ianmonge
0 766 posted 15 years ago by ianmonge
Modified just a bit. This version includes the Google Chrome beta.
2 752 posted 15 years ago by wizard04
This is a simple javascript snippet that will allow you to specify a particular class to a group of checkboxes and then select them all at once when you click the master checkbox. This came in very handy for a store inventory script when I needed to...
0 878 posted 15 years ago by aristoworks
Just some pseudo-code notes about using labels with `break` and `continue` statements.
0 678 posted 15 years ago by wizard04
Highlight an address and click the bookmarklet to open it in Google Maps
1 606 posted 15 years ago by wizard04
1 839 posted 15 years ago by wizard04
In mouseout and mouseover event handlers, use this object to check if the mouse was leaving or entering a "landmark" element. See my [MouseEnter/Leave Handlers](http://snipplr.com/view/8913/mouseenterleave-handlers/) snipplet for a practical use....
3 730 posted 15 years ago by wizard04
Quick and easy way to feed flickr images into your website
2 608 posted 15 years ago by jessnoonyes
jQuery script for navigation image rollovers
6 626 posted 15 years ago by bcalloway
2 605 posted 15 years ago by dbug13
1 ... 25 26 27 28 29 ... 33