PDA

View Full Version : New Window - Force User to Enter Answer


Nikolai459
06-14-2006, 02:50 PM
Hey Guys,

I'm working on a project where I have about 10 different "pop up" windows. Most are the same size but some are smaller than others.

The problem I'm having is if the user opens one window and doesn't close it, all of the other windows that are opened are set to that size of the first window open.

Is there a way to always open a new window even if there is one already open. I'm using TARGET="newwindow.html" for opening a new pop up window.

If there isn't, is there a way to force the user to answer "OK" or "Cancel" in the pop up box before he can open minimize or close the window?

Thanks in advance.

ronaldb66
06-14-2006, 03:46 PM
I don't know about the last question, but you could force every pop-up to open in a new window by giving each a unique target; a far better approach however would be to not use pop-ups at all.

If there is a certain succession in these pop-ups, presenting the user with a new page for each step in the process would be preferable from a usibility and accessibility standpoint; if however your application needs several windows to exist simultaneously, you can use unique targets as mentioned above.
I'm not very versed in JavaScript, but I suspect scripting would allow for windows to be closed just as it allows them to be opened.

Nikolai459
06-15-2006, 04:03 PM
Alright I'll try giving them a unique target, that may be all I need right now.

Thanks for your help Ron.