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?

8 of 21 people (38%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

how to open a popup window as closing the main window with NS
This does not seem to work in NN7.0 nor Mozilla. How can I make this work?

Apr 6th, 2008 18:51
ha mo, Arsen Yeremin, chris ker, stan,


<html>
<head>
	<title>Main Window</title>
  <script>
  function TheWindowIsBeingClosed()
  {  window.open("http://cnn.com");
  }
  </script>
</head>
<body onunload=TheWindowIsBeingClosed()>
</body>
</html>
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