浮动<!-- 动态鼠标开始 -->
<script language="JavaScript"><!--
var Dy,Dx,DY,DX,i,x,y,X,Y,ie,ns,D,H,M,S,n,a;
var dCol='009900';//date colour.
var fCol='FF6666';//face colour.
var sCol='0000ff';//seconds colour.
var mCol='000000';//minutes colour.
var hCol='FF0000';//hours colour.
var ClockHeight=40;
var ClockWidth=40;
var ClockFromMouseY=-30;
var ClockFromMouseX=60;
var ymouse=0;
var xmouse=0;
var scrll=0;
var font='Arial';
var size=2;
var speed=0.5;
var TodaysDate="☆健康是福☆有爱是缘";
var Face='1 2 3 4 5 6 7 8 9 10 11 12';
D=TodaysDate.split('');
Face=Face.split(' ');
H='....';
H=H.split('');
M='.....';
M=M.split('');
S='......';
S=S.split('');
ns=(document.layers);
ie=(document.all);
n=Face.length;
a=size*10;
var props="<font face="+font+" size="+size+" color="+fCol+"><B>";
var props2="<font face="+font+" size="+size+" color="+dCol+">";
var Split=360/n;
var Dsplit=360/D.length;
var HandHeight=ClockHeight/5.5
var HandWidth=ClockWidth/5.5
var HandY=-7;
var HandX=-2.5;
var step=0.06;
var currStep=0;
y=new Array();x=new Array();Y=new Array();X=new Array();
for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0}
Dy=new Array();Dx=new Array();DY=new Array();DX=new Array();
for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0}
if (ns){
for (i=0; i < D.length; i++)
document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>');
for (i=0; i < n; i++)
document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>');
for (i=0; i < S.length; i++)
document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>');
for (i=0; i < M.length; i++)
document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>');
for (i=0; i < H.length; i++)
document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>');
}
if (ie){
document.write('<div id="Od" (i=0; i < D.length; i++)
document.write('<div id="ieDate" id="Of" (i=0; i < n; i++)
document.write('<div id="ieFace" id="Oh" (i=0; i < H.length; i++)
document.write('<div id="ieHours" id="Om" (i=0; i < M.length; i++)
document.write('<div id="ieMinutes" id="Os" (i=0; i < S.length; i++)
document.write('<
鼠标下浮动的文字和时钟
80酷酷网 80kuku.com