<body bgcolor="#000000">: ~8 {1 b4 g# V, a% F
<SCRIPT LANGUAGE="javascript">
! N, f- L+ N! s- n& P( Q' j& Nns = (document.layers)?1:0;
% Z: F, L- \- q- c3 T% e# fClrs = new Array('ff0000','00ff00','ffffff','ff00ff','ffa500','ffff00','00ff00','ffffff','ff00ff')
9 Q% V0 B# J. f8 SyBase = 0;
2 z4 J, Z6 j9 ~# ixBase = 0;
' q, ~- K' H% g( @( R) R, ]step = 3;
, \4 m& J+ v4 C- dcurrStep = 0;1 s7 d4 p) G ^
Ypos = 0;
* [! `5 i/ l9 v" R: w) ^( |! {: DXpos = 0;
, t1 f6 e1 H- S" z* ?' A d; uif (ns){
0 [# _2 F; e$ D3 D" ofor (i = 0; i < 14; i++)
; E) {. [2 s# w5 v3 bdocument.write('<LAYER NAME="n'+i+'" LEFT=0 TOP=0 CLIP="0,0,'+i/4+','+i/4+'"></LAYER>');3 k/ [( t2 V: E3 ]5 Z# e* b7 l
window.captureEvents(Event.MOUSEMOVE);
1 T2 X. J$ }6 I7 E8 }. C! T# B; r4 s9 Bfunction nMouse(evnt){+ q6 B- m2 D2 F1 R* L
Ypos = evnt.pageY;
3 T2 t; _% n+ D- `% EXpos = evnt.pageX;* L( R# E) y# K3 W- z
}
) l/ [1 p7 Z/ I' fwindow.onMouseMove = nMouse;
2 Q/ h5 W$ f! t+ n}
5 F; l; n; O3 S5 r" f5 celse{ s1 J8 u/ _ v2 u' g
document.write('<div style="position:absolute;top:0;left:0"><div style="position:relative">');
' R& @! T! H# B, v4 E$ Ufor (i=0; i < 14; i++)
0 C9 b, M/ Y" o0 U2 ^+ V# f{document.write('<div id="me" style="position:absolute;top:0;left:0;width:'+i/4+';height:'+i/4+';font-size:'+i/4+'"></div>')}
' B& M( q2 \! F4 @+ n8 ldocument.write('</div></div>');$ A+ Y3 x# Z0 |- S6 c
function iMouse() {
: A3 m$ D s# I9 EYpos = event.y+document.body.scrollTop;
- o n% _: D4 l5 c# Z! nXpos = event.x+document.body.scrollLeft;; u2 ^# |9 X, P( m" M2 F
}
: i* h4 n! Y6 O8 t: L c7 p; ?( |document.onmousemove = iMouse; R3 y% \/ Z9 N" V$ N* M
}
3 h# h) W. M* K. Q$ [function Comet() {( q) k8 O6 P9 n0 d1 }# ?- a
var yBase = (document.layers)?window.innerHeight/4:window.document.body.clientHeight/4;
1 ] G: r9 g5 D3 y1 E: I+ i8 Jvar xBase = (document.layers)?window.innerWidth/4:window.document.body.clientWidth/4;$ s+ w( f& P u+ @4 k
for (i = 0; i < 14; i++){) z4 {( ~ N6 b: j$ e$ A' K8 t
var randCol = Math.round(Math.random()*8);
. Z6 |. N& J3 ~ e, {' q& gvar layer = (document.layers)?document.layers['n'+i]:me.style;
8 N' ?+ k9 Q# C9 Slayer.top =Ypos + yBase*Math.cos((currStep+i*4)/12)*Math.cos(0.7+currStep/200);. @3 r8 s) s) A9 d( U' n
layer.left = Xpos + xBase*Math.sin((currStep+i*3)/10)*Math.sin(8.2+currStep/400);( O; w3 i* ^3 T2 }- I
if (ns) layer.bgColor = Clrs[randCol];
9 Q% L0 r* u2 b v1 ?+ R0 b5 Kelse
: q! G. ^1 W# q7 F2 ~& blayer.background = Clrs[randCol];
$ N8 N) P- u- O0 i A' @7 u, l7 _* a# ` x}$ x8 c3 _( R% x6 i' E; Q- G
currStep += step;6 Y. B" g4 [6 c. {- Z# o! _" n) x
setTimeout("Comet()",10);
& |' `% k) ?% I}
, z: ~. D" y* Nwindow.onload = Comet;! m$ M% t* w: H- b
</script>- H. U7 W. C! \
|
|