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


FF1+ IE5+ Opr7+

Top-Down Curtain Script

Author: Dynamic Drive

Description: A script that opens up two "panels" (up-down) 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 strips from yellow to another by changing all three instances of the word "yellow" 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 curtain "draws' by changing "speed=20" in the second line to another number (greater is faster):

Select All