New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:


FF1+ IE5+ Opr7+

Boxing-away Script

Author: Dynamic Drive

Description: A script that "boxes away" to reveal the document beneath as the surfer enters the page.

Demo: You just saw it as you entered this page. If not, please press reload.


Directions Developer's View

Step 1: Insert the following into the <head> section of your page. You can change the color of the boxes from green to another by changing all three instances of the word "green" to another color name:

Select All

Step 2: Finally, insert the below right after the <body> tags, before anything else:

Select All

Box away!