The script is fine...the font designation is a korea
font...it does not come through in western encoding.
as for the var n=0, that comes in rest of the script..i
did not put it in here becus i was just showing you where
the font size could not go over 7. Here is the entire
script:
<script language="JavaScript1.2">
var message="Teach and travel Korea.com"
var neonbasecolor="red"
var neontextcolor="blue"
var flashspeed=100 //in milliseconds
///No need to edit below this line/////
var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+'" font
face="arial" size="7"><i><b>')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)
+'</span>')
document.write('</font></i></b>')
//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
//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>
-----Original Message-----
For starters it appears that the script is corrupt,
as the font designations in the script don't "seem" to be valid.
Go back to where you found it, and copy it and
paste it into notepad, and then from notepad to
your web page.
Next, you've defined a global variable var n=0
but I can't see where the variable is used
in the script.