한국어
<!-- 把下면代码加到<body>区域中 --> <textarea id="flashit"> 这里的内容会闪烁 </textarea> <form> <input type="submit" value="闪烁" id ="flashit"> </form> <script 언어="JavaScript1.2"> if (document.all&&document.all.flashit){ var flashelement=document.all.flashit if (flashelement.length==null) flashelement[0 ]=document.all.flashit 함수 변경 색상(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(임시변수) } } </script>