Results 1 to 3 of 3

Thread: Popup links to Parent Window - backup?

Threaded View

  1. #1
    Join Date
    Feb 2004

    Popup links to Parent Window - backup?

    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 - http://pixgroup.com/popup/ (click the links and you'll see that they load in the parent window).

    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...
    <a href="javascript:void(0);" onClick="window.opener.location.href='http://www.yahoo.com';">YAHOO
    Last edited by idesign123; 04-24-2013 at 07:13 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center