window.open("url?var="+传参数)//新开一个窗口
Window.location="url?var="+参数//在原来的窗口上运行指定的程序

解决方案 »

  1.   

    <!-- 改为去掉头IE部及其菜单 -->
    <script language="javascript">
    function detail(url,w,h){ 
       var win="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=" + w + ",height=" + h;  
       controlWindow=window.open(url,"",win);
    }function openNewWindow(url,w,h){ 
       var win="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=" + w + ",height=" + h;  
       controlWindow=window.open(url,"",win);
    }
    </script><a href="javascirpt:void detail('test.htm','100','100')">打开新窗口</a>
      

  2.   

    window.open("deletezh?zuohaoid="+zuohaoid,"","width=1,height=1,top=2000,left=2000");
    top.f2.location="/****/servlet/dingcai?zuohao="+zh+"&caidanhao="+cdcdh+"&rs="+rs;
      

  3.   

    查MSDN啊,里面的内容全着呢?有模式与无模式窗口呢:)
      

  4.   

    示例 1. In the following example, the windowOpener function opens a window and uses write methods to display a message: 
    function windowOpener() {
       msgWindow=window.open("","displayWindow","menubar=yes")
       msgWindow.document.write
          ("<HEAD><TITLE>Message window</TITLE></HEAD>")
       msgWindow.document.write
          ("<CENTER><BIG><B>Hello, world!</B></BIG></CENTER>")

    示例 2. The following is an onClick event handler that opens a new client window displaying the content specified in the file sesame.html. The window opens with the specified option settings; all other options are false because they are not specified. <FORM NAME="myform">
    <INPUT TYPE="button" NAME="Button1" VALUE="Open Sesame!"
       onClick="window.open ('sesame.html', 'newWin', 
       'scrollbars=yes,status=yes,width=300,height=300')">
    </FORM> 
      

  5.   

    除了window.open();
    还有谁?