加上这样一行就可以了
<meta http-equiv="refresh" content="3;URL=index.asp">其中,content="3;URL=index.asp"里的3就是秒数,你可以自己改成2,URL是要跳转的页面地址,可以是相对或者绝对路径
<meta http-equiv="refresh" content="3;URL=index.asp">其中,content="3;URL=index.asp"里的3就是秒数,你可以自己改成2,URL是要跳转的页面地址,可以是相对或者绝对路径
代码:
<META HTTP-EQUIV="Refresh" Content="2;URL=other.htm">
也可以用这个:
<script>setTimeout("window.location.href='other.htm'",2000)
注意,前一个时间单位是秒,后一个时间单位是豪秒!(后一个可扩展性和灵活性强得多。)
<script>setTimeout("window.location.href='other.htm'",2000)</script>