著作一覧 |
<script type="text/javascript" src="/data/js/Concurrent.Thread.Compiler.js"></script> <script type="text/javascript"> function round_ctrl() { var chrs = [" |", "/", "--", "\\"]; var index = 0; while (true) { document.getElementById("sp1ctrl").innerHTML = chrs[index]; index++; if (index >= 4) index = 0; Concurrent.Thread.sleep(1000); } } function start_ctrl() { document.getElementById("clickme").disabled = true; document.getElementById("clickme").value = "no one can stop me"; Concurrent.Thread.create(round_ctrl); } </script> <div id="sp1ctrl" align="center" style="width: 1em">|</div> <input type="button" id="clickme" value="click me !" onclick="start_ctrl();"/>powered by Concurrent.Thread
ジェズイットを見習え |
激しくワラタ. 素晴らしい!