如何在打开新窗口后,屏蔽父窗口,让父窗口变暗?
<html> <head>dd</head> <script language="javascript"> var obj1,obj2,obj3,obj4 function Myalert(){ obj1=document.createElement('<div id="a" style="position:absolute;filter:alpha(opacity=50);background-color:#cccccc;top:0px;left:0px;width:100%;height:100%;z-index:1000"></div>'); str='<div align="center" id="b" style="filter:alpha(opacity=100);position:absolute;z-index:1001;top:300px;left:300px;width:300px;height:100px;background-color:#ffffff;"></div>'; obj2=document.createElement(str); obj3=document.createElement("<span></span>"); obj3.innerText=