<HTML> <HEAD> <TITLE>blink</TITLE> <SCRIPT TYPE="text/JavaScript"> <!-- var flg = 0; function blink() { flg ^= 1; if( flg == 1 ) { document.all.blnk.style.color = "blue"; // (1) } else { document.all.blnk.style.color = document.bgColor; // (2) { timerID = setTimeout( "blink()", 500 ); } //--> </SCRIPT> </HEAD> <BODY BGCOLOR="white" ONLOAD="blink();"> // (4) <SPAN ID="blnk" STYLE="color:blue"><BIG>ブリンク</BIG></SPAN> // (3) </BODY> </HTML> |