View Full Version : JavaScript close framed window
three
08-27-2001, 07:35 PM
How do you close a pop-up window that has frames in it? The basic "javascript:self.close();" doesn't work with frames. I want a "close" button in the popup window that closes itself. Any suggestions?
janderk
08-28-2001, 03:40 AM
Originally posted by three:
How do you close a pop-up window that has frames in it? Did not check, but try;
javascript:parent.close();
Jan Derk
bturner
08-28-2001, 12:29 PM
and if parent.close() doesn't work, you could try top.close()
Bill
three
08-28-2001, 01:30 PM
Great, thanks a lot. They both work :)
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.