Posted in Javascript onApril 01, 2013
在父窗口写:
var sonid = window.open ('" + url2 + "', 'newwindow', 'height=108, width=200, top=" + top + ",left=" + left + ", toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, " + "status=no,titlebar=no,z-look=1,depended=yes,alwaysRaised=yes') window.attachEvent("onunload", closeSonwin); function closeSonwin() { sonid.close(); }
js关闭父窗口时关闭子窗口
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@