2017-04-07 131 views

回答

1

您可以使用HTML重定向

<meta http-equiv="refresh" content="3; url=http://stackoverflow.com/" /> 

content中的數字表示將頁面重定向到下一個參數url的秒數。

+1

謝謝!這是我需要的。你是最好的。 – harsher

2

您可以使用JavaScript爲:setTimeout

setTimeout(function(){ location.href = 'http://google.com'; }, 3000); 
+0

感謝您的回答! – harsher

1

您應該能夠通過使用來實現這個JavaScript的setTimeout

<script> 
    window.setTimeout(function(){ 
     window.location = "http://www.example.com"; 
    }, 3000); 
</script> 
+0

感謝您的回答! – harsher