[NTLUG:Discuss] HTML help
Merlin
merlin at tacni.net
Mon May 5 15:30:07 CDT 2003
Paul Drew amused Merlin with these comments:
> window.close(); is JavaScript
> and there is no other way that I am aware of to do that.
The one caveat being that if your page is trying to close a window that it
did not open (like one of those annoying popups), some browsers will warn
the user and ask them if the action is okay.
I know IE6 does this. However, if it is a window that your page/script
opened, and the page stayed within the same domain, then you "own" that
browser instance and can close it with impunity.
I just mention this for completeness sake, and so that you won't
necessarily rely on it automatically happening.
--
Merlin
"Do not meddle in the affairs of Wizards,
for they are subtle and quick to anger."
More information about the Discuss
mailing list