File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes to close an opener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "to close an opener" Watch "to close an opener" New topic

to close an opener

shlomi hazan

Joined: Oct 26, 2003
Posts: 1
I want to open a new window and close the opener without asking me if I agree
I need it because I don't want the toolbar and scrollbars
the problem is that in older version of explorer I did find a way to do it.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
It is there for a reason, you can not close the window without the warning. There was a trick in IE to do it, but they got rid of the error in the newer versions.
Why are you so afraid of the main window being open? Have a startup page in there, it is no big deal, what about people that have pop ups disabled? they would not be able to see your site!
I just think you should rethink what you are trying to do.
Bruno Frascino
Ranch Hand

Joined: Jul 22, 2003
Posts: 55
to close a window without asking:

I agree. Here's the link:
subject: to close an opener
It's not a secret anymore!