Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 32 33 34 35 36 ... 46
0 1409 posted 16 years ago by cobra90nj
Intelligent logging for javascript (also compatible with Firebug). Thanks to Prototype.js, PPK, and Danny Goodman for the idea!
2 1322 posted 16 years ago by jschilling
Switches body class between .portrait and .landscape for, you guessed it, portrait and landscape mode on the iphone.
0 1971 posted 16 years ago by ira
Ever wanted nested stylesheets? I have! Now you can have them! If you code your stylesheets as JSON and parse them using JSS 0.1. You could have the following: JSS({ 'html': { 'body': { background: '#ff...
0 1636 posted 16 years ago by dom111
Based on some comments in [StackOverflow Question](http://stackoverflow.com/questions/95875/javascript-check-to-see-if-a-variable-is-an-object "How to check if a variable is an object")
3 1963 posted 16 years ago by jasonseney
since the script observes mouseout, it should fire mouseleave events before mouseenter to preserve correct order.
1 1855 posted 16 years ago by pdswan
1 1065 posted 17 years ago by danielfilho
1 1657 posted 17 years ago by conspirator
1 1549 posted 17 years ago by demixo
3 1467 posted 17 years ago by kcmr
Only works in new tab, because of limitation of cross-domain AJAX
0 1286 posted 17 years ago by angusdev
1 1487 posted 17 years ago by Uzbekjon
This snippet is a reemplacement for the parseFloat function of the Javascript language. This new function gets one or two parameters if only one parameter is defined the function is like the original parseFloat. If there are two parameter passed to t...
1 1845 posted 17 years ago by amischol
This is my first ever bookmarklet. It's simple and could be tightened up but it works for me (FF3 Ubuntu 8.10). Oh, by the way, what it does is load gmail (if you're signed in, which I always am) with a search for the unread messages (is:unread)...
0 1230 posted 17 years ago by ThomasGHenry
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 1742 posted 17 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 2130 posted 17 years ago by oscargodson
zanox Web Services - Contextual Product Search Widget for blogger.com
0 1339 posted 17 years ago by dne
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 1406 posted 17 years ago by kouphax
fix for IE, adds getComputedStyle method for the object window and getPropertyValue method for the object, which returns getComputedStyle
1 6076 posted 17 years ago by Jman
1 1331 posted 17 years ago by matski
1 ... 32 33 34 35 36 ... 46