sc0rpius
08-08-2005, 02:21 PM
Hi,
I have a problem referencing opener window from a popup with a frameset.
What i need to be able to do is, load a linked product in the opener window, focus the opener window and close the popup.
I had this code for testing in my popup, but no frames.
function butterflyEffect(url) {
opener.parent.location.href = url;
opener.parent.focus();
window.close();
}
The actual page that popups hase frames in it and the code doesn't work anymore.
I tried to find the solution on the web but failed at it.
Has anyone of you guys any idea on how to resolve it?
Thanks in advance!
I have a problem referencing opener window from a popup with a frameset.
What i need to be able to do is, load a linked product in the opener window, focus the opener window and close the popup.
I had this code for testing in my popup, but no frames.
function butterflyEffect(url) {
opener.parent.location.href = url;
opener.parent.focus();
window.close();
}
The actual page that popups hase frames in it and the code doesn't work anymore.
I tried to find the solution on the web but failed at it.
Has anyone of you guys any idea on how to resolve it?
Thanks in advance!