Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Related items

JavaScript Bouncing Balls

Multi-dialogue forms on one page

Turning Tables Into Selection Lists

Drag and Drop with Microsoft Internet Explorer 5

Dynamic Floating Tool Tips

What is DHTML?

Image Manipulation Techniques

String Gradients the Fun Way!

"The Light Fantastic"

A Gift of "Life" : The Document Object Model

MSIE Page Transition Filters

You are here: irt.org | Articles | Dynamic HTML (DHTML) | MSIE Page Transition Filters [ previous next ]

Published on: Sunday 28th February 1999 By: Ben Allen

What is a page transition?

There is a little known HTML tag that will create a merge effect whenever you load that page. The page with this tag appears over the old page, gradually filling the browser window. If you have Internet Explorer 4.0 or higher, this page will load using a page transition (NOTE: this doesn't work if you refresh a page, or in Netscape).

The META tags

The page transition is put into place using the <meta> tag shown below:

<meta http-equiv="Page-Enter" content="revealTrans(duration=3,transition=1)">

Both of the parameters, duration and transition can be altered. duration determines how long it will take (in seconds) for the new page to fill the browser window. transition determines how the new page will fill the screen. The 22 different codes are listed below.

There is a second page transition available for when the page is replaced with another:

<meta http-equiv="Page-Exit" content="revealTrans(duration=3,transition=1)">

The transition codes

ValueDescription
1Square
2Circle (Out to In)
3Circle (In to Out)
4Line (Bottom to Top)
5Line (Top to Bottom)
6Line (Left to Right)
7Line (Right to Left)
8Slats (Left to Right)
9Slats (Top to Bottom)
10Chessboard (Left to Right)
11Chessboard (Top to Bottom)
12Pixellate
13Two Lines (Right/Left to Center)
14Two Lines (Center to Right/Left)
15Two Lines (Top/Bottom to Center)
16Two Lines (Centre to Top/Bottom)
17Diagonal Line (Top Right to Bottom Left)
18Diagonal Line (Bottom Right to Top Left)
19Diagonal Line (Top Left to Bottom Right)
20Diagonal Line (Bottom Left to Top Right)
21Horizontal Strips
22Vertical Strips
23Random

In general, all of the transitions work better with small HTML pages with few images.

See http://javascript.connect-2.co.uk/jscript/scripts/Efadein.html for an example of page transition.

This article first appeared on Dynamic It! JavaScript and DHTML resources.

Related items

JavaScript Bouncing Balls

Multi-dialogue forms on one page

Turning Tables Into Selection Lists

Drag and Drop with Microsoft Internet Explorer 5

Dynamic Floating Tool Tips

What is DHTML?

Image Manipulation Techniques

String Gradients the Fun Way!

"The Light Fantastic"

A Gift of "Life" : The Document Object Model

Feedback on 'MSIE Page Transition Filters'

©2018 Martin Webb