Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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