//range of glowing var from = 3; var to = 7; //speed of pulsing var delay = 85; //color of glow, name or RGB value (example:'#') var glowColor = "#FFBC6A";
//NO MORE EDITING!!! var i = to; var j = 0; //can be called here or whenever you want the text to start pulsing textPulseDown(); function textPulseUp() { if (!document.all) return if (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) return if (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> </strong></font></p>