加上这样一行就可以了
<meta http-equiv="refresh" content="3;URL=index.asp">其中,content="3;URL=index.asp"里的3就是秒数,你可以自己改成2,URL是要跳转的页面地址,可以是相对或者绝对路径

解决方案 »

  1.   

    方法很多,最常用的是META设置REFRESH。
    代码:
    <META HTTP-EQUIV="Refresh" Content="2;URL=other.htm">
    也可以用这个:
    <script>setTimeout("window.location.href='other.htm'",2000)
    注意,前一个时间单位是秒,后一个时间单位是豪秒!(后一个可扩展性和灵活性强得多。)
      

  2.   

    上面那个没写全:
    <script>setTimeout("window.location.href='other.htm'",2000)</script>
      

  3.   

    <meta http-equiv="refresh" content="3;URL=index.asp">这样写好像不行啊。但用script就解决了。谢谢!!