Click to See Complete Forum and Search --> : Closing a Window In Frames with "onclick"


mrwilson
12-26-2005, 08:09 AM
I have a page that is actually a framset (http://www.lunarcafe.com/artists/index.html) When I or the reader leaves this page, and clicks the link to leave, I want to close the frameset. Using "onclick=window.close() doesnt seem to work. I have also tried making a button that closes the page, but this doesnt seem to work in frames as well. Any thoughts?

Cytael
12-26-2005, 09:22 PM
Not sure I totally understand...do you mean this?

<a href="yourlink.html" target="_top">open yourlink.html in the full browser window, sans frames</a>

mrwilson
12-27-2005, 01:02 PM
Good grief! heheh that was too simple! Why dindt I think of that!

Thank you ever so much! One of those days I guess!