How do you close a page with three frames

  • Thread starter Thread starter Microsoft
  • Start date Start date
M

Microsoft

How do you close a page that has three frames and use a hyperlink to return
to the home page?
 
Microsoft said:
How do you close a page that has three frames and use a hyperlink to
return to the home page?

Hmmm, I am sure I have done that. (I just stopped using frames on my site,
so I can't test so easily)

I think you can just use location.href = 'index.html'

e.g. <a href="" onclick="location.href = 'index.html'"
target="_self">Home</a>.

If index.html is itself a frameset, it should open it and its frames. If
not, it should just open it alone. target="_self" should ensure that the
current page is not kept open, but overwritten with index.html

Anyway, try it and see.
 
I'd have though it is the same method as any other page - with the "X" in
the top corner of the window, with File > Close.??

If that's not what you mean, then please explain further.
 
Use a link similar to:
<a href="index.htm" target="_top">Home</a>

In the hyperlink dialogue, set the target frame to _top (whole page)
 
I have to ask.. why 3 frames??

-------------------------------------------------------------------------
 
JAlbum (the recommended replacement for the FP photo album) creates them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top