- A relatively good text display effects, like MTV lyrics show as the singer slowly one after another to show, this special effect code to achieve and this function almost, and JS code very little, Compatibility good, click Run to see the effect bar!
<HTML><Head><title>Shijiazhuang Flowers</title></Head><Body><Scriptlanguage= "JavaScript">varmessage="like the lyrics show the same JS text effect! "varNeonbasecolor="Gray"varNeontextcolor="Blue"varFlashspeed= -varN=0if(document.all) {document.write ('<font size= "3" color= "'+Neonbasecolor+'">') for(M=0; M<message.length;m++) document.write ('<span id= "Neonlight" >'+Message.charat (m)+'</span>') document.write ("')varTempref=Document.all.neonlight}Elsedocument.write (message)functionNeon () {if(n==0){ for(M=0; M<message.length;m++) Tempref[m].style.color=Neonbasecolor}tempref[n].style.color=Neontextcolorif(n<Tempref.length-1) n++Else{n=0clearinterval (flashing) setTimeout ("Beginneon ()", the)return}}functionBeginneon () {if(document.all) Flashing=SetInterval ("Neon ()", Flashspeed)} Beginneon ()</Script></Body></HTML>