打字效果代码 |
|
发表日期:2010年7月9日 本页面已被访问 272 次 |
走出你的视线,我直接走向车站,十点的车票在手上,地点是很远的地方,没有留下原因,因为心情已拥挤,我已拿走所有行李,就是最好的说明,不告而别,不告而别,只因为对你太了解,太了解,再多说也不能挽回,不告而别,不告而别,是不想看见你的眼泪,那会让我做出错误的解决,不告而别,不告而别,不想在你的世界,我的世界留下希望的牵连,不告而别,不告而别,不想在你的世界,我的世界,留下希望的牵连
代码:<FONT face=黑体><FONT size=5> <P style="LINE-HEIGHT: 45px" align=left><BR> <SCRIPT language=JavaScript1.2> var message=" 走出你的视线,我直接走向车站,十点的车票在手上,地点是很远的地方,没有留下原因,因为心情已拥挤,我已拿走所有行李,就是最好的说明,不告而别,不告而别,只因为对你太了解,太了解,再多说也不能挽回,不告而别,不告而别,是不想看见你的眼泪,那会让我做出错误的解决,不告而别,不告而别,不想在你的世界,我的世界留下希望的牵连,不告而别,不告而别,不想在你的世界,我的世界,留下希望的牵连" var neonbasecolor="#f0ffff" var neontextcolor="#006600" var flashspeed=100 //in milliseconds ///No need to edit below this line///// var n=0 if (document.all){ document.write('<font color="'+neonbasecolor+'">') for (m=0;m<message.length;m++) document.write('<span id="neonlight">'+message.charAt(m)+'</span>') document.write('</font><BR><br>') //cache reference to neonlight array var tempref=document.all.neonlight } else document.write(message) function neon(){ //Change all letters to base color if (n==0){ for (m=0;m<message.length;m++) tempref[m].style.color=neonbasecolor } //cycle through and change individual letters to neon color tempref[n].style.color=neontextcolor if (n<tempref.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",1500) return } } function beginneon(){ if (document.all) flashing=setInterval("neon()",flashspeed) } beginneon() </SCRIPT> </FONT></P></FONT>
|
|
|