中文(简体)
<!--要完成此效果需要三个步骤第一步:把如下代码加入到<head>区域中--> <style> .let{ color:white; font-family:Verdana; font-weight:bold ; width:500; filter:Shadow (Color="#6699CC", Direction="135")wave(Add="0", Phase="4", Freq="9", LightStrength="20", Strength= "1") ; } </style> <!--第二步:把如下代码加入到<body>区域中--> <script language="JavaScript"> var regel = 0; //row to start with var size = 20; //size of font var delay = 1200; //Delay between messages in msecs var speed = 20; //Hmmmmmm var step = 10; //Size of each step var sent = new Array() { sent [0] = "欢迎光临downcodes.com!"; sent[1] = "本站实例大多来自国外JS站点"; sent[2] = "加拿大.日本.美国.欧洲最多!"; sent[3] = "每天都有全新的JS实例提供给您"; sent[4] = "锁定本站给您最新及最好的资料"; sent[5] = "HTTP://WWW.WEBJX.COM"; } sent[sent.length] = sent[0];var veran = 0;var num = 0;var x = 0;//Don't change function moto(){output = "";for(letter = 0; letter<sent[regel+1].length;letter++){ if(veran == letter){if(x==0){num=num+step;}else{num=num-step;}gr = size- num; if(gr < 1){x=1;gr=1;}if(gr>size)gr=size; output += "<font style='font-size:"+gr +"pt'>" +sent[regel+x].substring(letter, letter+1)+"</font>"; if(num < 0 && x==1){veran++;x=0;}}else{if(veran > letter){ output += "<font style='font-size:"+size +"pt'>"+sent[regel+1].substring(letter, letter+1)+"</font>"; } else{output += "<font style='font-size:"+size +"pt'>"+sent[regel].substring(letter, letter+1)+"</font>";}}} return output;}function startmot(){if(regel==sent.length-1)regel=0;balk.innerHTML = moto(); if(veran==sent[regel+1].length){regel++;veran = 0;setTimeout("startmot()", delay);}else{ setTimeout("startmot()", speed);}} </script> <table style="cursor:hand" onclick="location='mailto: webmaster@downcodes.com'" align="center" id="tafel" bgcolor="#008000" width="500" height="60"> <tr> <td bgcolor="FF6666"> <div class=" let" ID="balk" align="center"> </div> </td> </tr> </table> <!--第三步:把“onload="startmot()"”加在< body>标记里例如:--> <body onload="startmot()">