2、vard=newinitArray(星期日,星期一,星期二,星期三,星期四,星期五,星期六);document.write(,today.getYear(),年,today.getMonth()+1,月,today.getDate(),日,dtoday.getDay()+1,);放在页首的代码PFONT-SIZE:9ptTDFONT-SIZE:9ptINPUTFONT-SIZE:9ptSELECTFONT-SIZE:9ptATEXT-TRANSFORM:none;COLOR:#000000;TEXT-DECORATION:non
3、eA:hoverCOLOR:#ff0080;TEXT-DECORATION:noneA:activeCOLOR:#ff0080;TEXT-DECORATION:none.subjectFONT-SIZE:12px;COLOR:#000000;TEXT-DECORATION:none.title1FONT-SIZE:12px;COLOR:#660000;TEXT-DECORATION:none.title1:hoverFONT-SIZE:12px;COLOR:#669999.lianjieFONT-SIZE:12px;COLOR:#8080
4、80;TEXT-DECORATION:none.lianjie:hoverFONT-SIZE:12px.zzzFONT-SIZE:12px;LINE-HEIGHT:14px!-functionMM_swapImgRestore()/v3.0vari,x,a=document.MM_sr;for(i=0;a&ia.length&(x=ai)&x.oSrc;i+)x.src=x.oSrc;functionMM_preloadImages()/v3.0vard=document;if(d.images)if(!d.MM_p)d.MM_p=newArray();
5、vari,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i0&parent.frames.length)d=parent.framesn.substring(p+1).document;n=n.substring(0,p);if(!(x=dn)&d.all)x=d.alln;for(i=0;!x&id.forms.length;i+)x=d.formsin;for(i=0;!x&d.layers&id.layers.length;i+)x=MM_findObj(n,d.layersi.document);if(!x
7、代码10秒后自动链接到别的网页表格代码行列表格一行表格二行表格一行二列表格二行二列表格四行二列表格三行三列首行居中后插入二行三列表格前两列合并右两行合并
8、居中显示表格宽width=80%表格高height=134表格线条粗border=1单元格边距cellpadding=2单元格间距cellspacing=0鼠标拖动数字时钟dCol=000000;/datecolour.fCol=000000;/facecolour.sCol=000000;/secondscolour.mCol=000000;/minutescolour.hCol=000000;/hourscolour.ClockHeight=40;ClockWidth=40;ClockFromM
9、ouseY=0;ClockFromMouseX=100;/Alternothingbelow!Alignmentswillbelost!d=newArray(SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY);m=newArray(JANUARY,FEBRUARY,MARCH,APRIL,MAY,JUNE,JULY,AUGUST,SEPTEMBER,OCTOBER,NOVEMBER,DECEMBER);date=newDate();day=date.getDate();year=date.getYear();if
10、(year2000)year=year+1900;TodaysDate=+ddate.getDay()++day++mdate.getMonth()++year;D=TodaysDate.split();H=.;H=H.split();M=.;M=M.split();S=.;S=S.split();Face=123456789101112;font=Arial;size=1;speed=0.6;ns=(document.layers);ie=(document.all);Face=Face.split();n=Face.length;a=size*10;y
11、mouse=0;xmouse=0;scrll=0;props=;props2=;Split=360/n;Dsplit=360/D.length;HandHeight=ClockHeight/4.5HandWidth=ClockWidth/4.5HandY=-7;HandX=-2.5;scrll=0;step=0.06;currStep=0;y=newArray();x=newArray();Y=newArray();X=newArray();for(i=0;in;i+)yi=0;xi=0;Yi=0;Xi=0Dy=newArray();Dx=newArray();DY=new
12、Array();DX=newArray();for(i=0;iD.length;i+)Dyi=0;Dxi=0;DYi=0;DXi=0if(ns)for(i=0;iD.length;i+)document.write(+props2+Di+);for(i=0;in;i+)document.write(+props+Facei+);for(i=0;iS.length;i+)document.write(+Si+);for(i=0;iM.length;i+)document.write(+Mi+);for(i=0;iH.length;i+)doc
13、ument.write(+Hi+);if(ie)document.write();for(i=0;iD.length;i+)document.write(+props2+Di+);document.write();document.write();for(i=0;in;i+)document.write(+props+Facei+);document.write();document.write();for(i=0;iH.length;i+)document.write(+Hi+);document.write();document.write();for(i=0;
14、iM.length;i+)document.write(+Mi+);document.write()document.write();for(i=0;iS.length;i+)document.write(+Si+);document.write()(ns)window.captureEvents(Event.MOUSEMOVE):0;functionMouse(evnt)ymouse=(ns)evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;xmouse=(ns)evn
15、t.pageX+ClockFromMouseX:event.x+ClockFromMouseX;(ns)window.onMouseMove=Mouse:document.onmousemove=Mouse;functionClockAndAssign()time=newDate();secs=time.getSeconds();sec=-1.57+Math.PI*secs/30;mins=time.getMinutes();min=-1.57+Math.PI*mins/30;hr=time.getHours();hrs=-1.575+M
16、ath.PI*hr/6+Math.PI*parseInt(time.getMinutes()/360;if(ie)Od.style.top=window.document.body.scrollTop;Of.style.top=window.document.body.scrollTop;Oh.style.top=window.document.body.scrollTop;Om.style.top=window.document.body.scrollTop;Os.style.top=window.document.body.scrollTop;for(i=0;in;i+)v
17、arF=(ns)document.layersnsFace+i:ieFacei.style;F.top=yi+ClockHeight*Math.sin(-1.0471+i*Split*Math.PI/180)+scrll;F.left=xi+ClockWidth*Math.cos(-1.0471+i*Split*Math.PI/180);for(i=0;iH.length;i+)varHL=(ns)document.layersnsHours+i:ieHoursi.style;HL.top=yi+HandY+(i*HandHeight)*Math.si
18、n(hrs)+scrll;HL.left=xi+HandX+(i*HandWidth)*Math.cos(hrs);for(i=0;iM.length;i+)varML=(ns)document.layersnsMinutes+i:ieMinutesi.style;ML.top=yi+HandY+(i*HandHeight)*Math.sin(min)+scrll;ML.left=xi+HandX+(i*HandWidth)*Math.cos(min);for(i=0;iS.length;i+)varSL=(ns)document.layersnsSeconds+i:ieSecondsi.style;SL.top=yi+HandY+(i*HandHeight)*Math.sin(sec)+scrll;SL.left=xi+HandX+(i*HandWidth)*Math.cos(sec);for(i=0;iD.length;i+)varDL=(ns)document.layersnsDate+i:ieDatei.style;DL.top=