Html Tips and Tricks

Saturday, June 19, 2004

Page Fading: Internet Explorer

Did this page fade when you came into it? If it didn't you are probably using a browser other than Internet Explorer (or HTML Tips is your home page, which is highly unlikely).
That fade was accomplished using this command in the head of the HTML code (crammed onto 1 line):

<meta http-equiv="Page-Enter" content="blendTrans(Duration=2.0)">

This "blends" the page in for 2.0 seconds when it is entered.
You can change the Page-Enter to Page-Exit, Site-Enter, or Site-Exit. Also, you can change the "blendTrans(Duration=2.0)" to:

"revealTrans(Duration=2.0,Transition=2)" for Circle In

"revealTrans(Duration=2.0,Transition=5)" for Wipe Down

or

"revealTrans(Duration=2.0,Transition=10)" for Checkerboard Across.

Change the Duration=2.0 to a different number for a longer or shorter transition (in seconds).

Change the Transition=2 to a different number for a different transition.

Make your site more interesting and beautiful using this tip!


NOTE FROM GEOFFREY: This tip only works in Internet Explorer. Also, it does not work when a site is your homepage (there is nothing to transition from).


NEED EXTRA HELP? HAVE A SUGGESTION? HAVE SOMETHING TO ADD? PLEASE POST COMMENTS WHILE LOOKING AT ALL THESE USEFUL HTML TIPS AND TRICKS. THANK YOU!

10 Comments:

Post a Comment

<< Home


Hit Counter