aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Use 'x' button to close frame 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 "Use Watch "Use New topic
Author

Use 'x' button to close frame

Elinor Chang
Ranch Hand

Joined: Jul 30, 2003
Posts: 58
I get a requirement to draw up a frame. One of the frame needs to have a small 'x' button, like the right upper x button. Once the 'x' button gets clicked, the frame will be closed and leave only the other frame open in the window. How do I archieve this without having to do any javascript?
Thanks


The more I learn, the less I know....<br /> <br />SCJP2 <br />SCWCD
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Regardless of the many ways you can achieve this, you are going to need Javascript.
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use 'x' button to close frame