test

jfulcer

DIS Old Timer
Joined
Jun 1, 2000
Messages
5,636
<script type="Javascript"> //
if (document.getElementById&&!document.layers){ dCol='#3366cc';//
fCol='#990000';sCol='#99ccff';mCol='#333399'; //
var css1="position:absolute;top:0px;left:0px; width:10px;height:10px;"; //
css1=css1+"font-size:10px;text-align:center;font-family:sans-serif;" ; //
var css2="position:absolute;top:0px;left:0px; width:10px;height:10px;";//
css2=css2+"font-size:10px;text-align:center;font-family:sans-serif;";//
hCol='#333399';del=0.6;ref=20; var ieType=(typeof window.innerWidth != 'number'); var docComp=(document.compatMode); //
var docMod=(docComp && docComp.indexOf("CSS") != -1); //
var ieRef=(ieType && docMod) ?document.documentElement:document.body; //
theDays=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY"); //
theMonths=new Array("JAN","FEB","MAR","APR","MAY","JUNE","JULY","AUG","SEPT","OCT","NOV","DEC"); //
date=new Date(); day=date.getDate(); year=date.getYear(); if (year < 2000) year=year+1900; //
tmpdate=" "+theDays[date.getDay()]+" "+day+" "+theMonths[date.getMonth()]+" "+year;D=tmpdate.split("");//
N='3 4 5 6 7 8 9 10 11 12 1 2';N=N.split(" ");F=N.length;H='...';H=H.split("");M='....'; M=M.split(""); //
S='.....'; S=S.split("");siz=40;eqf=360/F;eqd=360/D.length;han=siz/5.5;ofy=-7;ofx=-3;ofst=70;tmr=null; //
vis=true; mouseY=0;mouseX=0; dy=new Array();dx=new Array();zy=new Array();zx=new Array();tmps=new Array();//
tmpm=new Array(); tmph=new Array();tmpf=new Array(); //
tmpd=new Array();var sum=parseInt(D.length+F+H.length+M.length+S.length)+1;//
for (i=0; i < sum; i++){dy=0;dx=0;zy=0;zx=0;} algn=new Array(); //
for (i=0; i < D.length; i++){algn=(parseInt(D) || D==0)?10:9;//
document.write('<div id="_date'+i+'" style="'+css2+algn+'px;color:'+dCol+'">'+D+'</div>');//
tmpd=document.getElementById("_date"+i).style;}//
for (i=0; i < F; i++){document.write('<div id="_face'+i+'" style="'+css2+'color:'+fCol+'">'+N+'</div>'); //
tmpf=document.getElementById("_face"+i).style; }//
for (i=0; i < H.length; i++){document.write('<div id="_hours'+i+'" style="'+css1+'color:'+hCol+'">'+H+'</div>');//
tmph=document.getElementById("_hours"+i).style;}//
for (i=0; i < M.length; i++){document.write('<div id="_minutes'+i+'" style="'+css1+'color:'+mCol+'">'+M+'</div>');//
tmpm=document.getElementById("_minutes"+i).style; }//
for (i=0; i < S.length; i++){document.write('<div id="_seconds'+i+'" style="'+css1+'color:'+sCol+'">'+S+'</div>'); //
tmps=document.getElementById("_seconds"+i).style;} function onoff(){if (vis){ vis=false; //
document.getElementById("control").value="Clock On"; } else{ vis=true; //
document.getElementById("control").value="Clock Off"; Delay(); }kill();} //
function kill(){if (vis) document.onmousemove=mouse;else document.onmousemove=null;} //
function mouse(e){var msy = (!ieType)?window.pageYOffset:0;if (!e) e = window.event; //
if (typeof e.pageY == 'number'){ mouseY = e.pageY + ofst - msy; mouseX = e.pageX + ofst; } //
else{ mouseY = e.clientY + ofst - msy; mouseX = e.clientX + ofst; } //
if (!vis) kill();} document.onmousemove=mouse; //
function winDims(){ winH=(ieType)?ieRef.clientHeight:window.innerHeight; //
winW=(ieType)?ieRef.clientWidth:window.innerWidth; } //
winDims(); window.onresize=new Function("winDims()"); function ClockAndAssign(){ time = new Date(); //
secs = time.getSeconds(); sec = Math.PI * (secs-15) / 30; mins = time.getMinutes(); min = Math.PI * (mins-15) / 30; //
hrs = time.getHours(); hr = Math.PI * (hrs-3) / 6 + Math.PI * parseInt(time.getMinutes()) / 360; //
for (i=0; i < S.length; i++){ tmps.top=dy[D.length+F+H.length+M.length+i]+ofy+(i*han)*Math.sin(sec)+scrollY+"px"; //
tmps.left=dx[D.length+F+H.length+M.length+i]+ofx+(i*han)*Math.cos(sec)+"px"; } //
for (i=0; i < M.length; i++){ tmpm.top=dy[D.length+F+H.length+i]+ofy+(i*han)*Math.sin(min)+scrollY+"px"; //
tmpm.left=dx[D.length+F+H.length+i]+ofx+(i*han)*Math.cos(min)+"px"; } //
for (i=0; i < H.length; i++){ tmph.top=dy[D.length+F+i]+ofy+(i*han)*Math.sin(hr)+scrollY+"px"; //
tmph.left=dx[D.length+F+i]+ofx+(i*han)*Math.cos(hr)+"px"; } //
for (i=0; i < F; i++){ tmpf.top=dy[D.length+i]+siz*Math.sin(i*eqf*Math.PI/180)+scrollY+"px";//
tmpf.left=dx[D.length+i]+siz*Math.cos(i*eqf*Math.PI/180)+"px"; } //
for (i=0; i < D.length; i++){ tmpd.top=dy+siz*1.5*Math.sin(-sec+i*eqd*Math.PI/180)+scrollY+"px";//
tmpd.left=dx+siz*1.5*Math.cos(-sec+i*eqd*Math.PI/180)+"px"; } if (!vis)clearTimeout(tmr);} //
buffW=(ieType)?80:90; function Delay(){ scrollY=(ieType)?ieRef.scrollTop:window.pageYOffset; //
if (!vis){ dy[0]=-100; dx[0]=-100; } else{ zy[0]=Math.round(dy[0]+=((mouseY)-dy[0])*del); //
zx[0]=Math.round(dx[0]+=((mouseX)-dx[0])*del); } for (i=1; i < sum; i++){ if (!vis){ dy=-100; //
dx=-100; } else{ zy=Math.round(dy+=(zy[i-1]-dy)*del); //
zx=Math.round(dx+=(zx[i-1]-dx)*del); } if (dy[i-1] >= winH-80) dy[i-1]=winH-80; //
if (dx[i-1] >= winW-buffW) dx[i-1]=winW-buffW; } tmr=setTimeout('Delay()', ref); //
ClockAndAssign(); } window.onload=Delay; } </script>
 


Disney Vacation Planning. Free. Done for You.
Our Authorized Disney Vacation Planners are here to provide personalized, expert advice, answer every question, and uncover the best discounts. Let Dreams Unlimited Travel take care of all the details, so you can sit back, relax, and enjoy a stress-free vacation.
Start Your Disney Vacation
Disney EarMarked Producer

New Posts







DIS Facebook DIS youtube DIS Instagram DIS Pinterest DIS Tiktok DIS Twitter

Add as a preferred source on Google

Back
Top Bottom