pcanet
07-18-2003, 01:00 PM
I have a parent that opens a child, after the user closes the child window how can I change the parent window ?
|
Click to See Complete Forum and Search --> : Child redirect parent pcanet 07-18-2003, 01:00 PM I have a parent that opens a child, after the user closes the child window how can I change the parent window ? pyro 07-18-2003, 01:17 PM Using something like this: window.opener.location.href = "somepage.htm"; MadCommando 07-18-2003, 02:12 PM I think you could have in the child's html in the body tag <body onUnload="changeparent()"> and in the script function changeparent() { parent.document.location="http://www.thesite.com/page.html" } I think it should work, but I'm not quite sure. pyro 07-18-2003, 02:16 PM No, that won't work, but what I posted above will... webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |