toymachine22122
01-09-2004, 11:14 PM
Is there a way to check if the window is open?
I'm trying to create a script that will force the user to close the window, since window.close only asks them if they want to. What I want to do is have the window.close confirm come up, and if they hit no, it will come up again. I've tried doing this with a loop, but the confirm comes up again whether they click yes or no. I suppose this is OK, since it eventually requires them to close it with CTRL+ALT+DEL, but it could be done more nicely...
I'm trying to create a script that will force the user to close the window, since window.close only asks them if they want to. What I want to do is have the window.close confirm come up, and if they hit no, it will come up again. I've tried doing this with a loop, but the confirm comes up again whether they click yes or no. I suppose this is OK, since it eventually requires them to close it with CTRL+ALT+DEL, but it could be done more nicely...