關閉子視窗重新整理母視窗

  • Share this:

< script type ="text/javascript" > window.onbeforeunload=myunload; function myunload() { if(event.clientX>document.body.clientWidth&&event.clientY<0||event.altKey) { window.event.returnValue = "";   //關閉時,彈出視窗的訊息

opener.location.reload(); } } </ script >


Tags: