You are here: irt.org | About | Feedback | 3561 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q98
Sent by
Kent on February 04, 2002 at 12:41:44:
Comments:
This can also be accomplishedwithout resorting to frames. Place a function in the child window which checks for an indicator in the parent window. EG:
document.onLoad = hesitate();
function hesitate(){setTimeout('doCheck()',1000);}");
function doCheck(){if (window.opener.winopen==0){window.close();}else{hesitate();}}");