I must be missing something obvious. The code below opens the window as intended onmouseover, but fails to close it on mouseout. Can you see why it fails to close?
G
<Script Language="javascript" Type = "text/javascript">
function playIt() {
playPop = {window.open{"toolbar=no,location=0,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory =no,width=200,height=30");
playPop.blur();
}
function reset() {
playPop.close;
}
</Script>
</HEAD>
<BODY bgcolor = "#ffffff" Text = "#ffd766" Link = "#ffff99" Vlink = "#ffcc33">
<table cellpadding=0 border=0>
<tr ><td><a href="#" onmouseover="javascript: playIt()" onmouseout="javascript: reset()"><img src="bgnotes8.gif" width=120 height=66 border=1></a></td></tr>
</table>
G
<Script Language="javascript" Type = "text/javascript">
function playIt() {
playPop = {window.open{"toolbar=no,location=0,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory =no,width=200,height=30");
playPop.blur();
}
function reset() {
playPop.close;
}
</Script>
</HEAD>
<BODY bgcolor = "#ffffff" Text = "#ffd766" Link = "#ffff99" Vlink = "#ffcc33">
<table cellpadding=0 border=0>
<tr ><td><a href="#" onmouseover="javascript: playIt()" onmouseout="javascript: reset()"><img src="bgnotes8.gif" width=120 height=66 border=1></a></td></tr>
</table>
Comment