Help with Frames Pages

  • Thread starter Thread starter Harold Aaron
  • Start date Start date
H

Harold Aaron

Hello, I am relatively new to FrontPage. I have an Index Page with Frames,
that when a Navigation Button is selected, opens another Frames Page -
Services in a new window. The Services Frame Page has a Navigation Button
to return to Index Page. My question is, how do I close the Services Page
and return to Index Page that is already open? At present it opens Index in
the Main Frame of the Services Page.

Thanks for your help.

Harold
 
All you really need is some device to close the services window, since the
index page window is already open.

To get this, you would need either a text link already on the page or a
button image. Select either the link or the button, and apply a Call Script
behavior. Enter "top.close()" (without the quotes) in the entry field and
press return. That should do the trick for you.
 
Target attribute of the hyperlink should be set to _top. Example:

<a href="http://www.takempis.com" target="_top">Click Here</a>

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Thanks Murray! Worked like a charm.

Harold

Murray said:
All you really need is some device to close the services window, since the
index page window is already open.

To get this, you would need either a text link already on the page or a
button image. Select either the link or the button, and apply a Call
Script behavior. Enter "top.close()" (without the quotes) in the entry
field and press return. That should do the trick for you.
 
Back
Top