Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged load



« Prev 1 Next »
You can put the user's cursor inside a text box or put focus on select box as soon as your page is loaded. This helps ensure that visitors do not 'overlook' an important form item on your site and this snippet only uses one line of code!
0 810 posted 11 years ago by apphp-snippets
Link body class names to trigger javascript. It requires jQuery.
0 823 posted 13 years ago by cmndo
This snippet could be useful if you use an div based design eg. with a slider or something similar. it grabs variables from the base url splitted by "#". So you can browse to your site like "http://www.example.com/#1#2" and use the first and secon...
0 949 posted 13 years ago by disas
A more flexible version of the 'official' Facebook feed dialog example. "The Feed Dialog prompts the user to publish an individual story to a profile's feed. This does not require any extended permissions." "The following simple JavaScript exam...
0 882 posted 14 years ago by coprolit
0 712 posted 14 years ago by kcmr
It is utterly annoying when DOM event handler exceptions fail silently with Firebug. This package fixes this common problem.
0 740 posted 15 years ago by miohtama
Wasn't fully tested :) Just for reference...
3 765 posted 16 years ago by oxisound
The setTimeout ensures that if there is an issue attaching the link to the bottom of the head (e.g. if the head hasn’t finished loading when the link is trying to be attached) it retries after 100ms. Resetting the css variable to null avoids potent...
1 1292 posted 17 years ago by natalie
« Prev 1 Next »