One of my clients has requested the following…
– Click a link to open a popup window
– Click links in the popup window to change content in parent window
I have this working well at the following test URL – [url]http://pixgroup.com/popup/
The problem is that if someone closes the parent window, the links in the popup window no longer work. Is there a way I can code this so the links open in the parent window… but open in a new window if the visitor has closed the parent window?
Here is the key code snippet…
[code]<a href=”javascript:void(0);” onClick=”window.opener.location.href=’http://www.yahoo.com’;”>YAHOO