Forum Moderators: open
I need to built an introduction page that has to blend smoothly into the main page after the Flash intro played, or if visitors press 'skip intro'.
For IE this is easy: I've just added:
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5,Transition=0)">
...into the head section of my introduction page. Unfortunately this doesn't work in Firefox. Are there any blending tricks (javascript or whatever) that produce a similar effect in FF? I'd love to hear about that.
Thanks in forward, Dacuz
<head>
<title>OOoooooh</title>
<script type="text/javascript">
window.onload = function() {MakeFluffHappen()}
function MakeFluffHappen() {
FluffyKittenMaker(0);
Conflaburator(0);
}
function FluffyKittenMaker(SomeNumberThing) {
document.body.style.opacity = SomeNumberThing/100;
}
function Conflaburator(SomeNumberThing) {
if (SomeNumberThing <= 100) {
FluffyKittenMaker(SomeNumberThing);
SomeNumberThing += 10;
window.setTimeout("Conflaburator("+SomeNumberThing+")", 100);
}
}
</script>
</head>
<body>
Sed hendrerit arcu ac est. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
</body>