跟随鼠标的时钟
<script LANGUAGE="JavaScript1.2">
colors = new Array('330099','00ff00','ff00ff');
sCol = '800000'
mCol = '00FF00'
hCol = 'FF0000'
H = '***';
H = H.split('');
H = H.reverse();
M = '****';
M = M.split('');
M = M.reverse();
S = '*****';
S = S.split('');
S = S.reverse();
dots = 12;
var Ypos = 0,Xpos = 0,Ybase = 0,Xbase = 0;
var ay = 0, ax = 0, Ay = 0, Ax = 0, by = 0, bx = 0, By = 0, Bx = 0, cy
= 0, cx = 0, Cy = 0, Cx = 0, dy = 0, dx = 0, Dy = 0, Dx = 0;
count = 0;
count_a = 0;
move = 1;
ie4=document.all
ns = (document.layers)?1:0;
viz = (document.layers)?'hide':'hidden';
if (ns) {
for (i = 0; i < dots; i++)
document.write('
for (i = 0; i < S.length; i++)
document.write('
for (i = 0; i < M.length; i++)
document.write('
for (i = 0; i < H.length; i++)
document.write('
}
else if (ie4){
document.write('
for (i = 0; i < dots; i++) {
document.write('
0条评论