#1
  1. No Profile Picture
    mhei461
    Guest
    Devshed Newbie (0 - 499 posts)
    I would like to close the opener/parent window when a new window is opened. However, I would also like to avoid any client-side prompts such as "Do you want to close this window?". This is the code I'm using in the newly opened window:

    <BODY onload="window.opener.close();">

    Is it possible to close the opener window without prompts?
  2. #2
  3. No Profile Picture
    dahamsta
    Guest
    Devshed Newbie (0 - 499 posts)
    Nope, I'm afraid not. I think that this was introduced in JavaScript 1.3 or 1.4, but only with signed scripts, and it's not backwards compatible. And don't ask me about signed script, that's way down the "Things to Learn" list!

    See http://developer.netscape.com:80/sup...ript.html#4-10 for a more detailed answer.

    adam

    [This message has been edited by dahamsta (edited 07-08-99).]

Similar Threads

  1. Replies: 2
    Last Post: July 17th, 2003, 08:32 AM
  2. How to minimize parent window?
    By blursotong in forum HTML Programming
    Replies: 7
    Last Post: July 10th, 2003, 04:02 PM
  3. Closing child window from parent window.
    By saini_poonam in forum ASP Programming
    Replies: 1
    Last Post: May 14th, 2003, 11:13 AM
  4. Closing child window from parent window.
    By saini_poonam in forum HTML Programming
    Replies: 1
    Last Post: May 14th, 2003, 07:58 AM

IMN logo majestic logo threadwatch logo seochat tools logo