<h3>
<script language="JavaScript1.2">
/*
Neon Lights Text
By Website Abstraction (http://wsabstract.com)
Over 400+ free scripts here!
*/
var message="Вам нравится JS Library 1.0?"
var neonbasecolor="black"
var neontextcolor="red"
var flashspeed=100 //в милисекунданх
var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+' size=\"2\">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')
var tempref=document.all.neonlight
}
else
document.write(message)
function neon(){
if (n==0){
for (m=0;m<message.length;m++)
tempref[m].style.color=neonbasecolor
}
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>
</h3>
|