<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-8"><style type="text/css"> TD.format { COLOR: blue; FONT-FAMILY: Verdana; FONT-SIZE: 15px; FONT-WEIGHT: bolder } TD.format A:active { COLOR: red; TEXT-DECORATION: none } TD.format A:link { COLOR: blue; TEXT-DECORATION: none } TD.format A:visited { COLOR: blue; TEXT-DECORATION: none } TD.format A:hover { COLOR: red; TEXT-DECORATION: none } </style> </head>
<body > <table width="80%" border="1" cellspacing="2" cellpadding="2" align="center" bgcolor="#ece8cf" bordercolor="#666666" class="bord2"> <tr> <td align="left"> <div align="center"><b>Pulsating</b></div> </td> <tr> <td align="left"> <span id="theText" style="width:100%"> <h2>.םיעבצה תא תונשל ןתינ .רהוז בתכה ךיא ואר</h2> </span> <script> <!-- /* Pulsating Text (Chris A e-mail: KilerCris@Mail.com) */ //range of glowing var from = 4; var to = 12;
//speed of pulsing var delay = 55; //color of glow, name or RGB value (example:'#00FF00') var glowColor = "gold"; //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> </td> <tr> <td align="left"> </td> </table>
</body> </html>
|