Hi,

Another codesnippet I discovereed while building this theme was how to fade a page in on load and out on departure.

It consists of just one metatag (to be placed in teh head area:

[DIV1]

<META HTTP-EQUIV=”Page-Enter” CONTENT=”BlendTrans(Duration=3.0)”>

<META HTTP-EQUIV=”Page-Exit” CONTENT=”BlendTrans(Duration=3.0)”>

[/DIV1]

You can change the duration of the fadein process at the end of the line.

Here some more meta tags I found, these ones for telling the cients browser to refresh teh content (sometimes content it stays in browser cache for ages!):

[DIV1]<meta http:-equiv=”Pragma” content=”no-cache”/>
<meta http-equiv=”Expires” content=”-1″/>
<meta http-equiv=”cache-control” content=”no-cache”/>
[/DIV1]

A supposed better way of settin expirey time for content is via htaccess, have a look here!

Tags: , , , , , , ,