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
Step 2: Place JavaScript below in your HEAD sectionCode:<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
-->
JavaScript
Step 3: Copy & Paste HTML code below in your BODY sectionCode:<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
-->
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