You are here: irt.org | FAQ | JavaScript | Window | Q1547 [ previous next ]
Try something like:
<script language="JavaScript"><!-- var openWind = new Array(); for (i=0;i<4;i++) { openWind[i] = window.open('page'+i+'.html','window'+i); } for (i=0;i<4;i++) { if (openWind[i] && !openWind[i].closed) openWind[i].close(); } //--></script>