分享

打字效果代码 - 人到中年

 海浪滔滔 2010-08-15
打字效果代码

发表日期: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>

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多