<H2>
<script language="JavaScript1.2">
var message="YOUR TEXT HERE. YOUR TEXT HERE. YOUR TEXT HERE."
var neonbasecolor="white"
var neontextcolor="blue"
var flashspeed=100 //in milliseconds
///Don't need to edit below here :D /////
var n=0 Now, you can edit these things: (a) The base color-mine's white in this case. Change white to whatever you want in this part: 'var neonbasecolor="white"' (b) The text's color that it changes to. Mine's blue. Go to this part: 'var neontextcolor="blue"' and change blue to your color preference. (c) The speed it changes color (in milliseconds). Mine's at 100. Go to this section: 'var flashspeed=100 //in milliseconds' and change 100 to the speed you want. (d) Next, the size of the text. See at the way beginning of this script it says <H2> and at the way end it says </H2>? Change H2 to match the size you want! H1 is the biggest and H8 is the smallest! (e) And lastly, of course, to actual text at this section: 'var message="YOUR TEXT HERE. YOUR TEXT HERE. YOUR TEXT HERE."' There you go, you have neon light text!
if (document.all||document.getElementById){
document.write
for (m=0;m
document.write
}
else
document.write(message)
function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) :
document.getElementById("neonlight"+number)
return crossobj
}
function neon(){
//Change all letters to base color
if (n==0){
for (m=0;m
crossref(m).style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor
if (n
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>
</H2>