Günter Laudenklos: Focus transfer between browser windows

Beitrag lesen

Hello Amaya,

i check for the existance of opener's window in this way - it works 8)

if(opener.location)
{
//   do whatever you want ...
return;
}
else
{
Check = confirm("1st window already closed, retry ?");
if(Check==true)
{
  mainframe = window.open('1st.htm','firstwindow','locationbar=yes,menubar=yes,status=yes,toolbar=yes,scrollbars=yes,resizable=yes');
self.close();
}
}
kind regards   Guenter