window.open('地址','子窗口句柄','参数列表') 
你的问题,就是给上面的'子窗口句柄'取个名字就OK了

解决方案 »

  1.   

    <script LANGUAGE="JavaScript"> 
    <!-- 
    function openwin() { 
    window.open ("page.html", "newwindow", "height=100, width=100, top=0, left=0,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") 
    //写成一行 
    window.open ("page2.html", "newwindow2", "height=100, width=100, top=100, left=100,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") 
    //写成一行 

    //--> 
    </script> 为避免弹出的2个窗口覆盖,用top和left控制一下弹出的位置不要相互覆盖即可。最后用上面说过的四种方法调用即可。 
    注意:2个窗口的name(newwindows和newwindow2)不要相同,或者干脆全部为空。 
      

  2.   

    <html>  
    <head>  
    </head>  
      
    <body>  
    <input type ='button' value = 'test1' onclick =doClick()></input>  
    <script>  
    function openwin(){  
        window.open('E:/mytest/check.html');  
        window.open('E:/mytest/check.html');  
        window.open('E:/mytest/check.html');  
    }  
    </script>  
    </body>  
    </html>  
      

  3.   

    ?
    window.focus()这个不管用,有时候。
      

  4.   

    这样是可以,
    但是window.focus()为嘛有时候定位不到新打开的页面呢,
    还有貌似你在父页面一刷新,再打开,还是可以打开一个新页面的。
      

  5.   

    <script type="text/javascript">
        function newwin(url){
            var win=window.open(url,'newwin','height=300,width=500');
            /*
                下面的功能基本上属性浏览器行为
                像IE8,你必须在浏览器设置中,将选项卡的“遇到弹出窗口时”的动作设置为:“始终在新窗口中打开弹出窗口”才会在每次执行当前函数时使弹出的窗口置前
                
                *至于你说的“还有貌似你在父页面一刷新,再打开,还是可以打开一个新页面的”,IE8中未发现
            */
            win.focus(); 
        }
    </script>
    <a href="javascript:newwin('test.htm')">testA</a>
    <a href="javascript:newwin('test3.htm')">testB</a>
      

  6.   

    定义一个hashmap吧
    每次打开新页面之前检查一下页面是否打开,
    如果打开了就不让再打开了。