Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged html



1 2 3 Next »
Again, as part of the DCODR development I had to find a decent way to get the selection HTML
0 1638 posted 15 years ago by optimal
There's been a popular trend to use JavaScript to add target="_blank" to anchors with rel="external". So in the name of making everything in my site Prototype based I worked out a script to do just that.
2 647 posted 15 years ago by fruehjahr
shows that 2 required args to the swf are being set in JS 'swflink' contains 'referer' , 'IpAddress' arg values so they will not be undefined
0 783 posted 15 years ago by rowntreerob
1 820 posted 15 years ago by wizard04
Quick and easy way to feed flickr images into your website
2 592 posted 15 years ago by jessnoonyes
1 629 posted 15 years ago by shellydennison
Name the form what ever you like, but make sure that is reflected in the javascript.
0 4318 posted 16 years ago by jachin
curvyCorners is a free JavaScript program that will create on-the-fly rounded corners for any HTML DIV element, that look as good as any graphically created corners.
3 943 posted 16 years ago by jonhenshaw
Will toggle an element's style.visibility, or set it to visible/hidden as selected
0 599 posted 16 years ago by martinkas
Script takes links that are not on your domain and opens them in a new window. This code allows for XHTML strict validation and meets Accessibility criteria on opening new windows.
5 844 posted 16 years ago by skatan
Simply replaces the div's innerHTML with the response text received from the file.
3 1325 posted 17 years ago by 1man
A great script that will serve up stylesheets based on browser viewport size.
5 931 posted 17 years ago by aznprncritic
2 741 posted 17 years ago by whitetiger
3 784 posted 17 years ago by powerkan
Resize a Popup to Fit an Image's Size By Peter Todorov February 10th 2003 Reader Rating: 9.1 If you're a Webmaster who has to deal with image galleries, then make a note of this clever script. It gives you a solution to a very common problem --...
1 906 posted 17 years ago by zensir
If you want your pages to be valid XHTML-Strict, but you also wish to open external links in new window, the following snippet is doing just that—sets attribute target=“_blank” to all external links in a document to keep your code valid XHTML-S...
2 885 posted 17 years ago by zensir
The ideal use of this code would be to save the Javascript code as a .js file. Then use the HTML code at the bottom to call it wherever you want on the web page.
1 764 posted 17 years ago by Jaymoon
2 847 posted 17 years ago by cochambre
guardar como flash.js
0 663 posted 17 years ago by kanirasta
Directions: be sure to set to absolute paths every image location from your litebox-1.0.js and lightbox.css files... and, replace the setInnerHTML function with this one... http://www.doknowevil.net/litebox/
1 793 posted 17 years ago by rolandog
For a working demo in application/xhtml+xml or text/html, go to: http://rolandog.com/archives/2006/07/10/litebox-demasiado-bueno-para-ser-cierto/ You should delete the multi-line comments after completing the setup, some old browsers will complai...
3 932 posted 17 years ago by rolandog
extraido de http://www.bloglines.com/myblogs
0 880 posted 17 years ago by mate
1 2 3 Next »