<meta   http-equiv="refresh"   content="5;URL=another.htm">

解决方案 »

  1.   

    <script   language="javascript">   
      function   GoTo(){   
      location.href="http://www.baidu.com/";   
      }   
        
      setTimeout("GoTo()",5000);   
      </script>
      

  2.   

    Response.Write(@"<script language='javascript'>setTimeout('',50000);</script>");
      

  3.   

    js settimeout('函数',50000)
      

  4.   

    <meta http-equiv="refresh" content="5;URL=test.html">最简单
      

  5.   

    <javascript>
        function d()
        {
            window.open("Default4.aspx"); 
                         setTimeout("d()",5000);
        }<javascript>
    <body onload="d()">
      

  6.   

    Response.AppendHeader("refresh","url=''");
      

  7.   

    <head>
    在“head”中加以下代码就行
    <meta http-equiv="refresh" content="5;URl=http://www.163.com">
    </head>
      

  8.   

    、通过meta节
    、setTimeout
      

  9.   

    Response.Write("<meta http-equiv=\"refresh\" content=\"5;url=\"+url+">");
    url为所要转向的地址..
      

  10.   

    function red()
    {
      window.location="http://www.163.com";
    }
    window.onload=function()
    {
      setTimeout("red()",5000);
    }
      

  11.   

    在<head></head>间加一个<meta>最方便
      

  12.   

    <meta   http-equiv="refresh"   content="5;URL=新页面">
    或 
    <script   language="javascript">   
      function   GoTo(){   
      location.href="新页面";   
      }   
        
      setTimeout("GoTo()",5000);   
      </script>其实如果你电脑有装Dreamweaver的话,就可以直接用里面的一个菜单功能来实现这个效果了
      

  13.   

    setTimeout("函数",5000)
    clearTimeout();
      

  14.   

    <head>
    在“head”中加以下代码就行
    <meta http-equiv="refresh" content="5;URl=http://www.163.com">
    </head>
      

  15.   

    <meta   http-equiv="refresh"   content="5;URL=another.htm">
    或者js
    script   language="javascript">   
      function   GoTo(){   
      location.href="新页面";   
      }   
        
      setTimeout("GoTo()",5000);   
      </script>
      

  16.   

    接受條款倒數計數10S
    <script type="text/javascript">
    var c=10, t = " 接受條款 ";
    document.aspnetForm.ctl00_ContentPlaceHolder1_Button1.innerText += c;
    function g()
    {
        if (c!=0)
    {
    c--;
        document.aspnetForm.ctl00_ContentPlaceHolder1_Button1.innerText = t+"["+c+"]"
    setTimeout(g,1000);
    }else
    {
    document.aspnetForm.ctl00_ContentPlaceHolder1_Button1.disabled = false;
    }
    }
    g();</script>
      

  17.   

    到即时
    <script>
            var start=5;
            function actionurl()
            {
                if(start ==1)
                {
                document.all.message.innerText='剩余'+start+'秒';
                    window.location='index.aspx';
                }
                else
                {
                start=start-1;
                document.all.message.innerText='剩余'+start+'秒';
                setTimeout('actionurl()',1000);
                }
            }
             setTimeout('actionurl()',1000);
        </script>
    <body>
        <form id="form1">
        <div>
            <span id="message"></span>
        </div>
        </form>
    </body>