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

FF1+ IE5+ Opr7+

Boxing In Script

Author: Dynamic Drive

Description: A script that creates a boxing-in effect 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 box from white to another by changing all three instances of the word "white" to another color name:

Select All

Step 2: Finally, insert the below right after the <body> tags, before anything else. You can adjust the speed in which the effect "boxes" in by changing "speed=5" in the second line to another number (greater is faster):

Select All