炽热的文字特效(IE)
下面为效果显示区!
欢迎光临大中华导航网站,请多提意见,谢谢! http://www.cn76.com E-mail:baron@njcatv.net
脚本说明: 第一步:把如下代码加入<head>区域中 <style> <!-- #glowtext{ filter:glow(color=red,strength=2); width:100%; } --> </style> <script language="JavaScript1.2"> function glowit(which){ if (document.all.glowtext[which].filters[0].strength==2) document.all.glowtext[which].filters[0].strength=1 else document.all.glowtext[which].filters[0].strength=2 } function glowit2(which){ if (document.all.glowtext.filters[0].strength==2) document.all.glowtext.filters[0].strength=1 else document.all.glowtext.filters[0].strength=2 } function startglowing(){ if (document.all.glowtext&&glowtext.length){ for (i=0;i<glowtext.length;i++) eval('setInterval("glowit('+i+')",150)') } else if (glowtext) setInterval("glowit2(0)",150) } if (document.all) window.onload=startglowing </script> 第二步:把如下代码加入<body>区域中 <span id="glowtext">任意文字</span>