在onunload事件里 return false

解决方案 »

  1.   

    用了fullscreen就不能显示状态条了可以
    pop=window.open("pop.html","弹出窗口","toolbar=no,menubar=no,scrollbars=no,directories=no,resizable=no,location=no,status=yes,top=0,left=0,width=320,height=220");
      

  2.   

    <body style="margin:0">
    <input type="submit" onclick="open(location,'','fullscreen')">
    <div style="position:absolute;width:100%;border:1 outset;left:0;top:expression(document.body.clientHeight-this.offsetHeight);background:buttonface">
    status:
    </div>
    </body>
      

  3.   

    <script>
    function  window.onbeforeunload()
    {
    if(event.clientX>document.body.clientWidth&&event.clientY<0)
    {
    window.event.returnValue="";
    }
    }
    </script>
      

  4.   

    <script>
    pop=window.open("pop.html","","toolbar=no,menubar=no,scrollbars=no,directories=no,resizable=no,location=no,status=yes");
    pop.moveTo(-50,-50)
    pop.resizeTo(1000,800)
    </script>