JS控制字自动变颜色
<div id="hei">欢迎光临</div>
<script language="javascript">
function changeColor(){var color="#f00|#0f0|#00f|#880|#808|#088|yellow|green|blue|gray";
color=color.split("|");
document.getElementById("hei").style.color=color[parseInt(Math.random() * color.length)];
}
setInterval("changeColor()",200);
</script>