|
How do you keep multiple popups visible?
I have an application in which I have small charts in the form of Java popups. I have created these using the Java window.open. There are a couple dozen of these and users can select two or three they would like to look at. I would like them to see all three as they click on the links and be able to stack them.
Unfortunately, the way window.open works, as they click the second, the first disappears behind the calling window and they can see it only as a minimization tab in the taskbar. I would like them all to stay visible, so they know they are there and can stack them one on top of the other.
If I knew which ones they were going to select, I could call {newwindow.focus()} {newwindow2.focus()} etc., and bring them all in front of the calling page. I've tried this, and it actually works. However, if one of the "newwindowx" is a window "x" that they have not actually chosen yet, a nasty error message appears.
Does anyone know how to do this?
(I would have thought people would want to do this all the time, and I am surprised there is not just an argument in the window.open saying, "Do not do anything to the last popup.")
|