<head></head> tag.
<script language="JavaScript">
<!-- Hide from old browsers
// Copyright © 2000 Doug Popeney
// Created by Doug Popeney (easyjava@easyjavascipt.com)
// JavaScript Made Easy!! - http://www.easyjavascript.com
y = 0
function openCurtain(){
y -= 5
if (navigator.appName == "Netscape"){
document.curtain.top = y
aTop = document.curtain.top
}
else{
document.all.curtain.style.top = y
a = document.all.curtain.style.top;
aLen = a.length;
a = a.split("");
aTop = ""
for (k = 0; k < aLen - 2; k++){
aTop += a[k]
}
aTop = new Number(aTop)
}
if(aTop > stopPos){
var timer=setTimeout("openCurtain()",10)
}
}
// -->
</script>onLoad="openCurtain();"Now put this anywhere in the body of your web page.
<script language="JavaScript">
<!-- Hide from old browsers
if (navigator.appName == "Netscape"){
document.write('<layer name="curtain" bgcolor="black" left="0" top="0" width="100" height="100" visibility="show"></layer>');
document.curtain.clip.height = window.innerHeight;
document.curtain.clip.width = window.innerWidth;
stopPos = "-" + window.innerHeight
}
else{
document.write("<span id='curtain' style='position:absolute;visibility:visible;top:0;left:0;background-color:black;'></span>");
document.all.curtain.style.width = document.body.clientWidth;
document.all.curtain.style.height = document.body.clientHeight;
stopPos = document.body.clientHeight * (-1);
}
// -->
</SCRIPT>
var timer=setTimeout("openCurtain()",10)
(I saw no change in speed between 1, 10, and 50 -- jcm 08Jul00)