Deutsch
<!-- 把下面代码加到<body>区域中 --> <textarea id="flashit"> 这里的内容会闪烁 </textarea> <form> <input type="submit" value="闪烁" id ="flashit"> </form> <script language="JavaScript1.2"> if (document.all&&document.all.flashit){ var flashelement=document.all.flashit if (flashelement.length==null) flashelement[0 ]=document.all.flashit function changecolor(which){ if (flashelement[which].style.color=='') flashelement[which].style.color="red" else flashelement[which].style.color= "" } if (flashelement.length==null) setInterval("changecolor(0)",1000) else for (i=0;i<flashelement.length;i++){ var tempvariable='setInterval("changecolor('+ i+')",'+'1000)' eval(tempvariable) } } </script>