JavaScript.com: The Definitive JavaScript Resource
Use this snippet to get the rendered style of an element. Quick and simple to implement.
Sometimes you may want to give your visitor the URL of the page they are on. You can provide the entire path with breadcrumb scripts but, if you just want to give them the current URL, this short snippet will do the trick. Just place it anywhere on the page you want to display the URL.
Use this script when you need to offer multiple choices in your forms. Clicking a link dynamically changes the contents of the accompanying drop down list. Add as many options as you need. Complete details are explained in the script.
This script allows your visitors to accept your terms and conditions before proceeding by checking a box. If they don't agree, an exit button will takes them to a designated page.
This script creates 'tool tips' for images. Use as much text as you want. Formatting is controlled through the use of style sheets. The text will re-size, according to the screen width and placement of cursor.
• Attention JavaScript Coders!
Want some recognition for your scripts? Submit them to us and they may be featured here and on JavaScript Source! |