PDA

View Full Version : Closing frames



Rainblade
August 30th, 2002, 01:11 AM
I need to close a frames page but if i use "javascript:self.close()" it will close the individual part of the frames and not the entire browser.

any suggestions,

lostinbeta
August 30th, 2002, 01:32 AM
I answered in your other thread rainblade. Please don't post exact threads in different sections. This is called spamming. Just in case you check this one first I said to try this...

getURL("javascript:close()",_top);

Probably not the right syntax, but in the window location area just type _top, this should target the page with your main frameset and close the window.