Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

Page and site transitions

Internet Explorer (from version 4 onwards) also allows you to use the <meta> tag to set transitions that play when a page loads or unloads or when you enter or leave a site. This isn't a script; you use the tag’s attributes. You have the following options Page-Enter, Page-Exit, Site-Enter and Site-Exit. For these transitions to work, the <meta> tag must be the first tag in <head> section of your page and transitions don't seem to work across frames.

For example:

<meta http-equiv="Page-Enter" 
content="revealTrans(Duration=5.0,Transition=12)">

This would play a random dissolve filter, over 5 seconds when the page loads.

You can use any of the standard Visual Filter effects with either blend or one of the 24 reveal transitions. Just set the filter type in the content attribute of the <meta> element.

If you want to see a working example, you can look at the Transition Effects page. This HTML page shows the effects of all the transition. For each transition, there is an example. Click on the Go button to see the transition.