By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,776 Members | 1,506 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,776 IT Pros & Developers. It's quick & easy.

How to keep child window open when parent closes?

P: n/a


I have a closed box system which opens an html page. The page closes by the
system. I have access to the html page. I added code to open a child window
from this page. However when the parent window closes, the child closes
too. Is there a way to keep the child window open? Yes keep it orphaned.
--
John Dalberg
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <1k*****************************@40tude.net>, jo*****@hotmail.com
enlightened us with...


I have a closed box system which opens an html page. The page closes by the
system. I have access to the html page. I added code to open a child window
from this page. However when the parent window closes, the child closes
too. Is there a way to keep the child window open? Yes keep it orphaned.


I wouldn't think it would close in the first place, if it's truly a new
window (read: browser instance).
Might there be code in the parent doing this?
If so, catch the event and stop it, but that might really fudge up the parent
from closing if they put code in to stop closing if the child couldn't close.

MSIE?
Normal or HTA?

--
--
~kaeli~
Murphy's Law #2000: If enough data is collected, anything
may be proven by statistical methods.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2

P: n/a
On Fri, 18 Mar 2005 14:56:20 -0600, kaeli wrote:
In article <1k*****************************@40tude.net>, jo*****@hotmail.com
enlightened us with...


I have a closed box system which opens an html page. The page closes by the
system. I have access to the html page. I added code to open a child window
from this page. However when the parent window closes, the child closes
too. Is there a way to keep the child window open? Yes keep it orphaned.


I wouldn't think it would close in the first place, if it's truly a new
window (read: browser instance).
Might there be code in the parent doing this?
If so, catch the event and stop it, but that might really fudge up the parent
from closing if they put code in to stop closing if the child couldn't close.

MSIE?
Normal or HTA?

Actually there was code in the parent window that closed the child. An
onload event.

--
John Dalberg
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.