I guess the next step is, what if the original window has been closed? I came up with this-
function Redirect(url){
if (window.opener.opener.closed) {
window.open.location = url;
} else {
window.opener.opener.location = url;
}
self.close();
}
But if I close the top...
Hi,
Here's my situation. I have a web page which opens up a flash audio player in a popup using window.open. From the audio player, I have a button which opens another popup. What I want to do is put a link in this popup to close it and load another page back in the original web page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.