<div class="htmlarea"> <textarea id="runcode79793"> <title></title> <div id="ShowDiv"> </div> </textarea> <br> <input onclick="runEx('runcode79793')" type="button" value="运行代码"><input onclick="doCopy('runcode79793')" type="button" value="复制代码"><input onclick="doSave(runcode79793)" type="button" value="保存代码"> <a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank"> </a>[Ctrl A 모두 선택 참고: </div>외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다 <script language="javascript" type="text/javascript"> var secs =5; //倒计时的秒数 var URL ; function Load(url){ URL =url; for(var i=secs;i>=0;i--) { window.setTimeout('doUpdate(' + i + ')', (secs-i) * 1000); } } function doUpdate(num) { document.getElementById('ShowDiv').innerHTML = '将在'+num+'秒后自动跳转到 脚本之家' ; if(num == 0) { window.location=URL; } } </script>]<script language="javascript"> Load("http://www.jb51.net"); </script>