FF1+ IE5+ Opr7+

Boxing-away Script

Author: Dynamic Drive

Last updated: Dec 14th, 2014 for improved browser compatibility

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!

Wordpress Users: Step by Step instructions to add ANY Dynamic Drive script to an entire Wordpress theme or individual Post