Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    107
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Controling parent page from popup window

    Hi

    I wanted to control parent page form popup.

    For example, I have a page: http://www.cmela.com/zz.php

    When i open a popup by clicking "Click Here to open popup page" and then on popup window, i wanted it to transfer parent page from making a click on a pop up window.

    Example is at:
    http://www.cmela.com/zz.php

    open pop up window, and then by clicking on a link on a pop up window i wanted my parent page to go to www.msn.com

    any help?

    Thanks

  • #2
    Regular Coder
    Join Date
    May 2006
    Posts
    107
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Solved:

    Solution is:
    window.opener.document.location = 'http://www.msn.com';

  • #3
    Regular Coder
    Join Date
    May 2006
    Posts
    107
    Thanks
    1
    Thanked 0 Times in 0 Posts
    After transferring the parent, now I wanted to close the popup window ..


  •  

    Posting Permissions

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