中文(简体)
<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> </表>