Re: Is it possible to close the parent window (main web browser window) from a child A:
Put the following in the child:
<script langauge="JavaScript">
<!--
opener.close();
//-->
</script>
Although you'll need to make sure that the opener has been defined for browsers that don't have it by default, by placing the following in the parent:
<script language="JavaScript">
<!--
msgWindow=open('',window,'resizable=no,width=200,h eight=200');
msgWindow.location.href ='apage.html';
if (msgWindow.opener == null) msgWindow.opener = self;
//-->
</script> |