Posted on 2003-12-01
context: IE only (5+):
On one of my web pages (say, "foo.html") , I open a new side window using "window.open('bar.html', 'sidebar')". The user may then leave foo.html. However, when she returns to foo.html, I want to open the side window again but only if it is or has been closed. If it's still open, then I do not want the sidebar window touched because it may have been changed by the user.
Is there a way to detect whether this sidebar window is open or not?