Page 1 of 2

JavaScript--A snow storm

Posted: Tue Dec 21, 2004 1:14 pm
by pryj
A snow storm: after or
Quote:


")}
}
else{
****.write('');
****.write('');
for (i = 0; i ')}
****.write('');
}
function snow(){
var H=(****.layers)?window.innerHeight:window.****.body.clientHeight;
var W=(****.layers)?window.innerWidth:window.****.body.clientWidth;
var T=(****.layers)?window.pageYOffset:****.body.scrollTop;
var L=(****.layers)?window.pageXOffset:****.body.scrollLeft;
for (i=0; i H){
Y=-10;
X=Math.round(Math.random()*W);
M=Math.round(Math.random()*1+1);
S=Math.round(Math.random()*5+2);
}
if (V){****.layers['sn'+i].left=X;****.layers['sn'+i].top=Y+T}
else{si.style.pixelLeft=X;si.style.pixelTop=Y+T}
A[i]+=B[i];
}
setTimeout('snow()',10);
}
//-->

Posted: Fri Dec 24, 2004 7:27 am
by coco
good ,I like it !~

:)

Posted: Wed Dec 14, 2005 9:46 pm
by kitsuneofdarkness666
Ooooh.. I <3 it.

Posted: Thu Jan 12, 2006 7:02 am
by gmail
it's classic,i used that effect long ago

Posted: Fri Feb 24, 2006 8:40 am
by kaos_frack
sorry i think it contains errors in the beginning
i haven't tried it
but it starts with invalid characters

Posted: Wed Jun 13, 2007 3:55 pm
by blue-sky
thanks for sharing...

Posted: Wed Jun 13, 2007 5:58 pm
by sakhan
thankyou for sharing i will try it

Posted: Thu Jun 14, 2007 8:07 am
by webdesigner
it makes my browser freeze :(

Posted: Thu Jun 14, 2007 8:43 am
by Lixas
THIS SCRIPT CONTAINS ERROR'S- IT'S NOT FULL, I WOULD NOT RECOMEND TO USE IT
because it begins with statement ELSE, it's not allowed in noone programming language

Posted: Fri Jun 15, 2007 9:20 am
by anish
wooooww
Its cool .i like that. thanks for your snow storm script