<div class="codetitle"> <span><a style="CURSOR: pointer" data="71487" class="copybut" id="copybut71487" onclick="doCopy('code71487')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code71487"> <br><br><br><br><meta http-equiv="Content-Type " content="text/html; charset=GBK"> <br><title>404 Not Found</title> <br><br><br> <h1>找不到指定的頁</h1> <br> <span id="totalSecond">3</span>秒後自動回傳<br><br><script language="javascript" type="text/javascript"> <BR><!--<BR> var second = document.getElementById('totalSecond').textContent;<BR> if (navigator.appName.indexOf("Explorer") > -1)還是Firefox瀏覽器,採取對應措施取得秒數<BR> {<BR> second = document.getElementById('totalSec second = document.getElementById(' totalSecond').textContent;<BR> }<BR> setInterval("redirect()", 1000); //每1秒鐘呼叫redirect()方法一次<BR> if (second < 0)<BR> {<BR> location.href = 'http:// 🎜> if (navigator.appName.indexOf(" Explorer") > -1)<BR> {<BR> } else<BR> {<BR> textContent = second--;<BR> }<BR> }<BR> } 🎜> <BR><BR></script> </div>