中文(简体)
<!--要完成此效果把如下代码加入到<body>区域中--> <span id="theText" style="width:100%"> <h2align="center"><font color=" #ffffff">欢迎来到您!!</font></h2> </span><script> var from = 5;变量 = 50;无功延迟 = 5; var 发光颜色 = "石灰"; var i = 到;变量 j = 0;文本脉冲下降(); function textPulseUp() { if (!document.all) return if (i < to) { theText.style.filter = "Glow(Color=" + gigColor + ", Strength=" + i + ")"; }我++; theTimeout = setTimeout('textPulseUp()',delay);返回0; } if (i = to) { theTimeout = setTimeout('textPulseDown()',delay);返回0; } } function textPulseDown() { if (!document.all) return if (i > from) { theText.style.filter = "Glow(Color=" + gigColor + ", Strength=" + i + ")";我 - ; theTimeout = setTimeout('textPulseDown()',delay);返回0; } if (i = from) { theTimeout = setTimeout('textPulseUp()',delay);返回0; } } </脚本>