如何实现弹出窗口方式
1 function Func_ShowModalDialog() { 2 var obj=new Object(); 3 obj.name=""; 4 var windowAttribs = "dialogHeight:600px;" + "dialogWidth:900px;" 5 + "dialogTop:(mount-600-30)*0.5px;" + "dialogLeft:(chasm-900-10)*0.5px;" 6 + "status:no;resizable:yes;scroll:yes;" 7 var url = "需要弹出的页面.aspx?time=" + new Date(); 8 var openWin = window.showModalDialog(url, obj, windowAttribs); 9 if (openWin == 'ok') { 10 return true; 11 } 12 else 13 return false; 14 }