Tip: You can modify some of the code before running
JS Happy Lights status bar effect code <ptml> <pead> <script language= "JavaScript" > <!--function Makearray (n) {this.length = N; for (i=0; i<n; i++) this[i]= ""; } stcnt = 16; msg = "Welcome to your www.111cn.net!" wmsg = new Makearray (32); wmsg[0]=msg; Blnk = ""; For (I=1 i<32; i++) {b = blnk.substring (0,i); For (j=0 j<msg.length; j + +) Wmsg[i]=wmsg[i]+msg.charat (j) +b; function Wiper () {if (stcnt > 1) str = wmsg[stcnt]; else str = wmsg[0]; if (stcnt--< -40) stcnt=31; Window.status = str; Timeid = Window.settimeout ("wiper ()", 150); }//--> </script> </pead> <body onload=wiper ();> 1, bounce, run lanterns <marquee width=400 Behavior=alternat E direction=left align=middle border=1><font color= "#ff0099" > Bombs to run Lanterns </font></marquee> 2, Running Fast racing lights <marquee width=400 behavior=alternate direction=left align=middle border=1 Color= "#ff6699" > Running fast Racing Lights </font></marquee> 3, with a super link to the racing lights <marquEE width=90%> <font color= "#ff3399" > ^-^ I am a happy lantern with a hyperlink! Dot I try ^-^</font> </marquee> 4, appears to have elastic effect: <marquee behavior= "Alternate" direction= "Up" width= "height=" >http://111cn.net/</marquee> parameter description: Behavior=scroll, slide, alternate horse way: Circular bypass, only to stop once, back and forth movement Direction=left,right horse racing direction: From left to right, from right to left loop=100 Happy horse number: 100 cycles, If do not write default to have been cycling width=100%,height=200 race range: Width is 100%, high is 200 pixel scrollamount=20 race speed: The larger the number the faster the scrolldelay=500 horse race delay: The number of milliseconds, the use of it can achieve leapfrog scrolling White space between the hspace=20,vspace=20 and other areas bgcolor= #00FFCC the background color of the happy area </body> </ptml>
Tip: You can modify some of the code before running