»
EnglishFrenchVietnamese

Print - Glow Text Script - JavaScriptBank.com

Full version: jsB@nk » Text » Fade-Glow » Glow Text Script
URL: https://www.javascriptbank.com/glow-text-script.html

Glow Text Script © JavaScriptBank.comAdd 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 scripting to make the light 'come alive' and glow (look closely...the light is actually moving!). Poor folks not using IE 4+ will simply see the text in its usual, dull state.

Full version: jsB@nk » Text » Fade-Glow » Glow Text Script
URL: https://www.javascriptbank.com/glow-text-script.html



CSS
<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
<script>var rate = 500// do not edit below this line// ============================var i = 0var 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
<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-->