var popup=null;
 var popup=showModalDialog('', 'popupnav','dialogWidth:320px;dialogheight:550px;status:no;help:no');
 if (popup.opener!=null) {
   popup.opener==self;
 }
 popup.location.href='member.asp'
 }第二个, 暂时我还没想到怎么解决.... 抱歉.

解决方案 »

  1.   

    把右上角的最大化和关闭按钮屏蔽掉,做成无边窗口或者使用模态对话框第二个问题(如果body的scroll=no则此方法失效):
    <script>
    function window.onbeforeunload(){
    with(event)if(clientX>document.body.clientWidth &&clientY<0||altKey)
    return "Are u sure?"
    }
    </script>
      

  2.   

    1.
    var popup=window.open('','popupnav','fullscreen=1');
    popup.resizeTo(320,550)
    if(popup.opener!=null) popup.opener=self;
    popup.location.href='member.asp'
    2,不能实现