Full version: jsB@nk » Text » Karaoke » Neon Lights script
URL: https://www.javascriptbank.com/neon-lights-script.html
Neon lights are an effective way in which to draw attention to signs and banners on the street, and now, to your webpage text as well!Bring the age old technique of attracting attention on the streets to your webpage! This DHTML script applies a neon light effect to any text...very cool.
Full version: jsB@nk » Text » Karaoke » Neon Lights script
URL: https://www.javascriptbank.com/neon-lights-script.html
<h2><script language="JavaScript1.2">var message="JavaScriptBank.com - Bank of over 2000+ free JavaScripts"var neonbasecolor="gray"var neontextcolor="yellow"var flashspeed=100 //in milliseconds///No need to edit below this line/////var n=0if (document.all||document.getElementById){document.write('<font color="'+neonbasecolor+'">')for (m=0;m<message.length;m++)document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')document.write('</font>')}elsedocument.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 colorif (n==0){for (m=0;m<message.length;m++)//eval("document.all.neonlight"+m).style.color=neonbasecolorcrossref(m).style.color=neonbasecolor}//cycle through and change individual letters to neon colorcrossref(n).style.color=neontextcolorif (n<message.length-1)n++else{n=0clearInterval(flashing)setTimeout("beginneon()",1500)return}}function beginneon(){if (document.all||document.getElementById)flashing=setInterval("neon()",flashspeed)}beginneon()</script></h2><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->