弱弱在这里问下高手,怎么用html语言编辑代码,将字体搞成闪烁的效果呢?
<div id="blink">闪烁的文字</div>
<script language="javascript"> function changeColor(){ var color="#f00|#0f0|#00f|#880|#808|#088|yellow|green|blue|gray"; color=color.split("|"); document.getElementById("blink").style.color=color[parseInt(Math.random() * color.length)]; } setInterval("changeColor()",200); </script>