Forum Moderators: open

Message Too Old, No Replies

How Do I close Parent Window after PopUp

         

RegGFX

9:55 pm on Nov 17, 2005 (gmt 0)

10+ Year Member



Hi...
I'm looking for script that shows me how to close parent window after the New Window or Popup opens.

The popup will be initiated in the onload event in the parent window.

If someone could point me to that... i'd greatly appreciate it.

NOTE: I realize that XP-SP2 has issues with this but its not an issue for where i'm going to be using this.

Thanks... Please RSVP

Dijkgraaf

10:56 pm on Nov 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<script type="text/Jscript">
function closeopener() {
window.opener.opener='anything';
window.opener.close();
}
</script>