»
EnglishFrenchVietnamese

Print - Pulsating text II - JavaScriptBank.com

Full version: jsB@nk » Text » Fade-Glow » Pulsating text II
URL: https://www.javascriptbank.com/pulsating-text-ii.html

Pulsating text II © JavaScriptBank.comThis effect makes use of IE's multimedia filters, coupled with scripting, to render an 'aura' around any given text. The effect can easily be applied to multiple text, each with differing pulsating colors and speed.

Full version: jsB@nk » Text » Fade-Glow » Pulsating text II
URL: https://www.javascriptbank.com/pulsating-text-ii.html



JavaScript
<script><!--//range of glowingvar from = 3;var to = 9;//speed of pulsingvar delay = 40;//color of glow, name or RGB value (example:'#00FF00')var glowColor = "Red";//NO MORE EDITING!!!var i = to;var j = 0;//can be called here or whenever you want the text to start pulsingtextPulseDown();function textPulseUp(){if (!document.all)returnif (i < to){theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";i++;theTimeout = setTimeout('textPulseUp()',delay);return 0;}if (i = to){theTimeout = setTimeout('textPulseDown()',delay);return 0;}}function textPulseDown(){if (!document.all)returnif (i > from){theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";i--;theTimeout = setTimeout('textPulseDown()',delay);return 0;}if (i = from){theTimeout = setTimeout('textPulseUp()',delay);return 0;}}//--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->