Forum Moderators: open

Message Too Old, No Replies

page-to-page blending in Firefox

         

Kostranostra

10:05 am on Nov 8, 2006 (gmt 0)

10+ Year Member



Hey all,

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

appi2

12:28 pm on Nov 8, 2006 (gmt 0)

10+ Year Member



This would make the page fade in in FF2 not IE

<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>