<script>
function dd(){
alert('nihao');
window.open("http://www.sina.com.cn")
}
function test(){
setInterval("dd()",3000);
}
</script>

解决方案 »

  1.   

    <script>
    function open_window(){
    window.open(url);
    setTimeOut("open_window()",3000);//3秒
    }
    </script>
    <body onload="open_window()">
    </body>
      

  2.   

    一楼的什么反应也没有,二楼缺少对象
    Line:4
    Char:1
    Code:0
    Error:缺少对象
      

  3.   

    <script>
    var d = ["http://www.baidu.com","http://www.sohu.com.cn"];
    var t = 3; //三秒var c = 0;
    function oP()
    {
        if(++c > d.length-1)c = 0;
    window.open(d[c]);
    setTimeout("oP();",t*1000);
    }oP();
    </script>
      

  4.   

    1楼和二楼的都对,只差LZ调用了,建议LZ从头学习JS吧
      

  5.   

    还有一种跳转
    <meta http-equiv="refresh" content="3"; url=http://www.163.com" />
    过3秒刷向163