Closing windows

  • Thread starter Thread starter Steve Grosz
  • Start date Start date
S

Steve Grosz

Here's my question. If I have a target frame set to a new window, how, when
leaving that window, can I have that window close automatically.

Thanks very much.

Steve
 
Hi Steve,

Leaving by what means?

Use the unload event handler in the body tag.
 
Sorry about this, but can you give me an example of code on how this would
work?

Thanks!!
Steve
 
I have a button that goes back to the main page, calls index.htm, but at the
same time opens up a new window. I just want to get back to the main page.
 
1 more quick question regarding this. If this is a frames window, which
window would this go in?

Thanks again!
Steve
 
You would not use that on a framed window. Perhaps I don't understand what
the question is. What I understood it to be was that a window needed to be
closed when you left it.
 
It is a window w/ frames that I'd like to close down the whole window when I
select the 'main' window button I've set up and defined on that same frames
page.
 
Okay so the "main" window pops this framed window up correct? How do you
plan to get back to the "main: window?
 
Back
Top