PDA

View Full Version : JS closing a popup with frameset ? can it be done?


lamamike
03-08-2003, 09:46 AM
I've got a little popup that I'm trying to put a "CLOSE WINDOW" tag or button in. I tried putting it into one of the frames with no luck. Is it a frames or Javascript problem? It doesn't close the darn thing...

here's the URL to see if anyone can make a suggestion from it...

http://www.austin-insider.com/March/slideshow.html

thanks all!

COBOLdinosaur
03-08-2003, 05:41 PM
<form>
<input type="button" value="Close Window" onClick="top.close()">
</form>

The user will get a security warning unless the frameset was opened from script.