Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 43 44 45 46 47 Next »
1 263 posted 14 years ago by sondosia
swfObject in XHTML doc structure.
1 253 posted 14 years ago by horizens
added to the head section of the page
5 270 posted 14 years ago by gux
3 206 posted 14 years ago by Corhol
Simple javascript email validation
29 1280 posted 14 years ago by arcturus
Simple templating for innerHTML functions. Parses an input string (tmpl) for %(NAME) tokens, accepts an object (ns) as data and returns an output string.
1 195 posted 14 years ago by mattgay
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 255 posted 14 years ago by Jaymoon
redirects a splash page if visited before. Number of days until expiry can be set
0 226 posted 14 years ago by markhope
Redirect a splash page using javascript. This snippet allows one redirect per session making the backwards navigation possible using the back button.
0 253 posted 14 years ago by markhope
function prints a serie of random numbers but without the next one being the same as the previous. to print, just call the function in the body
1 315 posted 14 years ago by dandyna
This script reads a directory of files. After reading the directory specified it outputs the directory files. Upon output, supplied functions manipulate each filename and format it to make the output filename look better. e.g.: instead of output bei...
2 328 posted 14 years ago by drewrockshard
This little javascript will toggle the div object to create collpse/expand effect on web page. Treat it as a poor man's solution for the TreeView.
0 191 posted 14 years ago by chengkai
This function allows an object's property names to be read by using an index. The properties can be accessed like: someobject.propertyNames[0] or someobject.propertyValues[0]. But you first have to make the object's properties available by calling so...
2 265 posted 14 years ago by rolandog
Constructs an element out of arrays. Using nested arrays translates into nested ChildNodes. Update 2006-07-19: Added documentation (comments). Update 2006-11-25: Reduced the ammount of code needed.
5 270 posted 14 years ago by rolandog
3 190 posted 14 years ago by masaya
This is test script of Google Map API. How to use this script is as follows. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> <head> <style type="text/css"> v\:* { behavior:url(#default#VML)...
5 302 posted 14 years ago by tomute
See javadoc style comment in source.
2 369 posted 14 years ago by ishikawa
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 234 posted 14 years ago by rolandog
0 204 posted 14 years ago by kgl
Just testing snipplr w/ this snippet.
5 335 posted 14 years ago by jonbaer
This is a quick & easy system for changing the base of any number.
0 333 posted 14 years ago by Zikes
1 ... 43 44 45 46 47 Next »