打开一个子窗口后,如何禁止对父窗口的操作?

来源:互联网 发布:设计电路板的软件 编辑:程序博客网 时间:2024/04/30 12:00
<script   language="JavaScript">  
  function   showabout()  
        {  
    var   returnValue=showModalDialog('2.html',"",'dialogWidth:520px;dialogHeight:510px;help:no;center:yes;resizable:no;status:no;scroll:no');  
  }      
  //void(0);  
  </script>  
  <a   href="#"   onClick="showabout()">open</a>