FF1+ IE5+ Opr7+

Boxing In Script

Author: Dynamic Drive

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

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

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