Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Ready for the addition of other country regions as needed.
0
1010
posted 14 years ago by johnandrewsroot
Run in the FireBug console, and copy the output. An odd class is included for row striping, and the number of items can be controlled via the for loop.
1
795
posted 14 years ago by Jamie
Looked for a simple, efficient cross-fading script that does it properly without fading to the background color. This script uses z-indexes to prevent the background from ever showing, creating a smooth fade.
0
641
posted 14 years ago by relaxasaurus
Easily grabs email addresses from a bulk text (CSV and/or some other email address-filled list/db).
Example #2 takes the input (bulk text) from textarea #input and puts the clean emails in the textarea #extractedemails.
1
2951
posted 14 years ago by world_eggplant
This will need to be either embeded or included and you can then just use this as such
myNewString = myStringVariable.nl2br();
0
769
posted 14 years ago by boondoklife
If you wish to set an ASyncPostBackTrigger in ScriptManager for AJAX.NET, using ASyncPostBackTrigger="xxx" causes Firefox, Chrome, Safari, etc. to timeout on partial page postback, using this javascript to set the ASyncPostBackTrigger (instead of the...
0
939
posted 14 years ago by cardiffblogger
Con esto puedes tener control de las imagenes que fueron cargadas y las que no.
0
698
posted 14 years ago by jrobinsonc
This is a simple effect for displaying a predefined text in a text box in web page. Download jQuery and the plugin and follows the sample code in [http://cloudgen.w0ng.hk/jquery/defaultText.php](http://cloudgen.w0ng.hk/jquery/defaultText.php "Defaul...
0
889
posted 14 years ago by cloudgen
This is a zoom glass effect. Simply download jQuery and the plugin and apply the code as described in http://cloudgen.w0ng.hk/jquery/simple.zoomGlass.php
You can found the sample in the page, too.
0
879
posted 14 years ago by cloudgen