|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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! URL
See http://developer.netscape.com:80/support/faqs/champions/javascript.html#4-10 for a more detailed answer. adam [This message has been edited by dahamsta (edited 07-08-99).] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Closing the parent window without prompts? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|