Don't use javascript you can use the target-property of the <form>-tag:
<form action="frameless.htm" target="_top">
<input type="submit" value="frameless...">
</form>
Greetz,
Arjan Bosboom
-----Original Message-----
From: Steve Bailey [mailto:stephen.bailey1@g...]
Sent: vrijdag 17 augustus 2001 18:51
To: HTML Code Clinic
Subject: [html_code_clinic] Clearing frames
I have a frameset and in the bottom frame I have a button. On clicking
this button I want to clear the frames and display the resulting document
in a frameless window.
I know if it was a link instead of a button it's a case of target="_top"
but this wont work for a button... or will it?!
Can anyone help?
Thanks in advance.
Steve