中文(繁体)
<script> function drawDot(x,y,color,size){ document.write("<table border='0' cellspacing=0 cellpadding=0><tr><td style='position: Absolute; left: "+ (x)+"; 頂部: "+(y)+";背景顏色: "+color+"' width="+size+" height="+size+"></td></tr></table> " ) } 函數drawOval(x,y,a,b,顏色,尺寸,精度){ var i; var iMax=2*Math.PI; var step=2*Math.PI/(精度*Math.sqrt(a*b)*4.5); for(i=0;i<iMax;i+=step){ drawDot(x+a*Math.cos(i),y+b*Math.sin(i),顏色,尺寸); drawOval(450,250,120,50,"紫紅色",2,1); drawOval(450,253,120,50,"紫紅色",2,0.1); drawOval(450,256,120,50,"紫紅色",2,0.1); drawOval(450,259,120,50,"紫紅色",2,0.1); drawOval(450,262,120,50,"紫紅色",2,0.1); drawOval(450,265,120,50,"紫紅色",2,0.1); drawOval(450,268,120,50,"紫紅色",2,0.1); drawOval(450,271,120,50,"紫紅色",2,0.1); drawOval(450,274,120,50,"紫紅色",2,0.1); drawOval(450,277,120,50,"紫紅色",2,0.1); drawOval(450,280,120,50,"紫紅色",2,0.1); drawOval(450,283,120,50,"紫紅色",2,0.1); drawOval(450,286,120,50,"紫紅色",2,0.1); drawOval(450,289,120,50,"紫紅色",2,0.1); drawOval(450,292,120,50,"紫紅色",2,0.1); drawOval(450,295,120,50,"紫紅色",2,0.1); drawOval(450,298,120,50,"紫紅色",2,0.1); drawOval(450,301,120,50,"紫紅色",2,0.1); drawOval(450,304,120,50,"紫紅色",2,0.1); drawOval(450,307,120,50,"紫紅色",2,0.1); drawOval(450,310,120,50,"紫紅色",2,0.1); drawOval(450,313,120,50,"紫紅色",2,0.1); drawOval(450,316,120,50,"紫紅色",2,0.1); drawOval(450,319,120,50,"紫紅色",2,0.1); drawOval(450,322,120,50,"紫紅色",2,0.1); drawOval(450,329,120,50,"紫紅色",4,0.1); </script> <div style="position:absolute;top:220;left:297pt;font-size:31pt;color:fuchsia" id=a>*</div> <div style="position:absolute;top :220;左:359pt;字體大小:31pt;顏色:紫紅色" id=b>*</div> <div style="position:absolute;頂部:310;左:310pt;字體大小:31pt;顏色:紫紅色" id=c>*</div> <div style="position:absolute;top:310;left:373pt;font-size:31pt;color:fuchsia" id=d>*</div> <div style="position:absolute;top:290;left:257pt;font-size:31pt;color:fuchsia" id=e>*</div> <div style="position:absolute;top:270;left:420pt ;font-size:31pt;顏色:紫紅色" id=f>*</div> <div style="position:absolute;top:240;left:250pt;font-size:31pt;顏色:紫紅色" id =g >*</div> <div style="position:absolute;top:230;left:400pt;font-size:31pt;color:fuchsia" id=h>*</div> <div id=freq style ="位置:絕對;上:10pt;左:50pt;寬度:100pt;高度:130pt;字體大小:80pt;顏色:天藍色;濾鏡:alpha(不透明度=80)模糊(add=true,方向= 135,強度= 25)"> <i>風鈴</i> </div> <table bgcolor style="position:absolute;top:320pt;left:225pt;width:230pt;height:12pt;color:white" > <tr> <tdalign=center><div id=auto style="color:fuchsia;font-size:15pt;font-style:italic"></div></td></tr> </table> <腳本>變數最大值=0;函數textlist() { max=textlist.arguments.length; for(var i=0;i<max;i++) this[i]=textlist.arguments[i]; } tl=new textlist("新年快樂","快樂每一天","祝你快樂","祝你快樂") var x=0; var 位置 = 0; var l=tl[x].length;函式 autodis() { auto.innerText=tl[x].substring(0,pos) if(pos++==l) { pos=0 setTimeout("autodis()",1000) x++ if(x==max) x =0 } else setTimeout("autodis()",90) } autodis() </script> <script> vardelay=0;函數blinker() { for(n=5;n>0;n--) { 延遲+=200; setTimeout("document.bgColor='blue'",delay)delay+=200 setTimeout("document.bgColor='white'",delay) } }blinker() </script> <script> function colorit(obj) { re ="rgb("+Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+","+Math.round(Math.random()* 256)+")"; obj.style.color=re; } setInterval("colorit(a)",90) setInterval("colorit(b)",90) setInterval("colorit(c)",90) setInterval("colorit(d)",90) setInterval("colorit( e)",90) setInterval("colorit(f)",90) setInterval("colorit(g)",90) setInterval("colorit(h)",90) </script> <table width=40 height= 400 style="position:absolute;top:30pt;left:500pt;color:green"> <tr><td>$<br>$<br>$<br>$<br>$<br>$<br >$<br>$<br>$<br>$<br>$<br>$<br>$<br>$<br>$<br>$<br>$<br>$</td> </tr> </表>