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 closing window with frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "closing window with frames" Watch "closing window with frames" New topic

closing window with frames

naveen rajan

Joined: Jul 31, 2001
Posts: 5
how do i close a window which contains frames
Dilupa Perera

Joined: Jul 12, 2001
Posts: 3
I don't think there is a specila way to close a window with frames.
just try window.close()
I hope thsi will work
Originally posted by naveen rajan:
how do i close a window which contains frames

Brian Glodde
Ranch Hand

Joined: Jun 27, 2001
Posts: 171
also, you might try top.close() or parent.close()
I agree. Here's the link:
subject: closing window with frames
It's not a secret anymore!