This may sound dumb but is there any way for the user to shut down a web application OTHER than using Browser File/Close or using the X in the control box?
Thanks
gollnick
Printable View
This may sound dumb but is there any way for the user to shut down a web application OTHER than using Browser File/Close or using the X in the control box?
Thanks
gollnick
There is a javascript that will close a browser window.
.
But only if the browser window was opened by the javascript too.Quote:
Originally Posted by MrGTI
Actually no. It can close a window that the user opened themselves. Try this code in a blank HTML page that you open by double clicking it.Of course, IE 6.x has a few security safeguards, so the user will need to answer Yes when asked if it's okay if the browser window is closed.VB Code:
<a href="javascript:window.close();">Close This Window</a>
It's probably best if you keep the use of this to a minimum gollnick. Let the user decide if they want to close the window themselves. :thumb:
Yeah that's sort of what I meant. I wasn't really clear I guess :)