2、新生成的页面能否一出来就是最大化?这个问题在这个帖子有讨论:
http://www.csdn.net/Expert/TopicView1.asp?id=932199

解决方案 »

  1.   

    第二个问题已经有解答了!
    我来回答
    1.如下:
    <script>
    function window.onbeforeunload() {
    if (event.clientX > document.body.clientWidth && event.clientY < 0||event.altKey)
    alert("关闭窗口");
    }
    </script>
    辨别关闭窗口和刷新、倒退的方法!
      

  2.   

    window.open("new.htm","newwin","fullscreen=yes,status=yes,help=no,toolbar=no,resizable=no,width=" + screen.availWidth + ",height=" + screen.availHeight + "top=0,left=0")
      

  3.   

    谢谢三位,我用的是beyond_xiruo的方法。