As long as you give the window a name, you can close it if you're the one
that opened it. In the open.window() function, the title is the parameter
right after the URL. Give it a unique name and you'll be able to close
On 03/13/00, ""David Funk" <david@d...>" wrote:
> I'm using open.window() to open a new window that hides the toolbar,
menubar, location, etc., and then I use window.close() to close the
window with the toolbar, menubar, location, etc. When I use
window.close(), I keep getting a prompt, "The Web page you are viewing is
trying to close the window. Do you want to close it? Yes or No".
Is there a way to get rid of the prompt, or better yet, is there script
that will allow me to hide the window ornaments without having to use
Any help would be appreciated.