<input type="button" value="打开新窗口" onClick="JavaScript:window.open('aaa.htm','_blank','width=300,height=300');">我这里好使你看这个行吗?

解决方案 »

  1.   

    如果你在一个frame里用这个就错了,(ie6不会报错)
    改成parent.open
      

  2.   

    对我同意
    resizable=no'")多了一个"
      

  3.   

    <html>
    <head>
    <title>无标题文档</title>
    <script>
    window.open('aaa.htm','newwindow','width=100,height=100,scrollbars=no,resizable=no');
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><body bgcolor="#FFFFFF" text="#000000"></body>
    </html>