火焰文字,让你感觉到狂热_文本链接特效

模板酷站
  •       4/5
  •       1
  •       2
  •       3
  •       4
  •       5
查看演示效果

      织梦DedeCMS视频教程买空间 租服务器 选网硕互联! 无忧站长工具,百度权重一键全查!

      这是由JavaScript打造的特效,火焰文字,让你感觉狂热、闪烁和心跳,像冬日里燃烧的大火,充满火热的激情。
      你可将本JS函数另存为单独文件,在需要这种文字效果的时候引入文件,定义span id与其对就就可以了,很简单的使用方法。

      <html> <head> <meta http-equiv="Content-Type" mrc="text/html; charset=gb2312"> <title>让你感到狂热的文字</title> </head> <body> <style> <!-- #glowtext{ filter:glow(color=ff0000,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> <span id="glowtext"><font color="F5D20A">你就像那一把火,熊熊大火燃烧了我……</span> </body> </html>