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 4 of 4

Thread: window.close

  1. #1
    Regular Coder
    Join Date
    May 2004
    Posts
    391
    Thanks
    76
    Thanked 0 Times in 0 Posts

    window.close

    Hello all. I'm trying to to change the page for the parent and close the child how can it be done??

    echo "<BODY ONLOAD=opener.location.reload(true);window.close();>";

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    if in child:

    function openC(){
    opener.location.href='newpage.html';
    self.close();
    }
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    Registered User
    Join Date
    Oct 2004
    Posts
    592
    Thanks
    0
    Thanked 1 Time in 1 Post
    It's also of great help to me....thank you!

    Quote Originally Posted by Kor
    if in child:

    function openC(){
    opener.location.href='newpage.html';
    self.close();
    }

  • #4
    Registered User
    Join Date
    Oct 2004
    Posts
    592
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by Kor
    if in child:

    function openC(){
    opener.location.href='newpage.html';
    self.close();
    }
    It's also of great help to me....thank you!


  •  

    Posting Permissions

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