faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

24 of 43 people (56%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How can close a popup window automatically when a user browses to another particular page?

Apr 5th, 2008 20:41
ha mo, filter 2001, Justin Sobieraj,


In the page where you launched the popup:
 window.onunload =function(){mypopup.close();}
 note: assumming mypopup=window.open(blabla);
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com