Well, first of all be aware that this script doesn't work in modern Mozilla browsers like FireFox and Netscape to begin with. It does work in IE and older Netscape browsers. I can modify it to stop, fading out would be another matter entirely, maybe for the IE5+ part. Anyways, try this, where it says:
Code:
function animateLogo() {
make it look like this:
Code:
x=0
function animateLogo() {
x+=1
and where it says:
Code:
setTimeout("animateLogo()", 15);
make it look like this:
Code:
if (x>=8*75){ // change 8 to approx. number of seconds before effect ends
if(document.all)document.all('starsDiv').style.display='none';
else{
for (i = 0; i < 7; i++)
document.layers['a'+i].visibility='hide'}
clearTimeout(astars);}
else
astars=setTimeout("animateLogo()", 15);
for an effect that ends after about 8 seconds.
Bookmarks