JavaScript library

Glow Text Script

Add flare and draw attention to important text on your page by making them glow! The below script utilizes the glow filter of DHTML to first surround any text with a yellow 'light', then uses scriptin... detail


How to setup

Step 1: Copy & Paste CSS code below in your HEAD section
CSS
Code:
<style>

.F1 {filter: glow(Color=#FF8000,Strength=10);
     width=450px;
     height=200px;}
     
.F2 {filter: glow(Color=#00FF00,Strength=9);
     width=450px;
     height=200px;}
     
.F3 {filter: glow(Color=#0080FF,Strength=12);
     width=450px;
     height=200px;}     

</style>
	<!--
    	This script downloaded from www.JavaScriptBank.com
    	Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
	-->
Step 2: Place JavaScript below in your HEAD section
JavaScript
Code:
<script>

var rate = 500


// do not edit below this line
// ============================

var i = 0
var F = 'F1'
function doThing(){
   if (document.getElementById&&document.all) {   
      ok =  true
      i++;
      if (i==1) F = 'F1'
      if (i==2) F = 'F2'
      if (i==3) F = 'F3' 	 
      YammaYamma.className=F
      if (i > 2) i = 0
      timer=setTimeout('doThing()', rate)
   }         
}

</script>
	<!--
    	This script downloaded from www.JavaScriptBank.com
    	Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
	-->
Step 3: Copy & Paste HTML code below in your BODY section
HTML
Code:
<body onload="doThing()">
<p id="YammaYamma" style="font-size: 40px; border: 1px solid black;"><b>JavaScriptBank.com - Bank of over 2000+ free JavaScripts</b></p>
</body>
	<!--
    	This script downloaded from www.JavaScriptBank.com
    	Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
	-->
Quote Originally Posted by Copyright
The Site may provide, or third parties may provide, links to non-JavaScriptBank.com Internet World Wide Web sites or resources. Because JavaScriptBank.com has no control over such sites and resources, you acknowledge and agree that JavaScriptBank.com is not responsible for the availability of such external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. You further acknowledge and agree that JavaScriptBank.com shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such site or resource.