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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2003
    Location
    Seoul, Korea
    Posts
    329
    Thanks
    0
    Thanked 0 Times in 0 Posts

    moving the parent window to another place

    Code:
    parent.htm
    
    <a href='child_as_newWindow.htm' target='_blank'>
    child_as_newWindow
    </a>
    If a user clicks the link above, a newWindow will pop.

    I like to write some code in child_as_newWindow.htm.

    The code has a button named "close."

    If the user clicks the button "close," child_as newWindow.htm will be close.
    At the same time, the parent.htm will go to another_parent.htm.

    Can I do it with your help?
    Get my greedy up

  • #2
    Regular Coder
    Join Date
    Jan 2004
    Posts
    185
    Thanks
    2
    Thanked 1 Time in 1 Post
    Code:
    close.onclick=function(){parent.moveTo(500,500);self.close();};
    Last edited by subhailc; 07-22-2006 at 09:25 AM.


  •  

    Posting Permissions

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