Is it possible to open up a JS Pop-Up window that is stripped down from a flash projector file off a CD-ROM? If not, is there a workaround where I can communicate with the Pop-Ups parent window to close itself? I tried the following but it’s not working…
I tried the following for that but it doesn’t work.
Parent Window Code:
<html>
<head>
<title></title>
<script LANGUAGE=“JavaScript”>
<!–
var newWin;
function openNewWin() {
newWin = window.open(‘newWin.html’,‘newWin’,‘width=210,height=240’);
}
function closeNewWin() {
if (newWin.location) { newWin.close(); }
}
// -->
</SCRIPT>
</head>
<body onLoad=“openNewWin();”>
<table BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=400 ALIGN=“center”>
<tr>
<td><font SIZE="+1"><b>Opening a Pop-Up Window that Closes When Its Parent Document is Unloaded</b></font></td>
</tr>
</table>
</body>
</html>
POP UP WINDOW CODE:
<html>
<head>
<title></title>
</head>
<body onload=“closeNewWin();”>
<table BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=400 ALIGN=“center”>
<tr>
<td><font SIZE="+1"><b>Opening a Pop-Up Window that Closes When Its Parent Document is Unloaded</b></font></td>
</tr>
</table>
</body>
</html>