Focus transfer between browser windows
Amaya Gomez
- javascript
I would be grateful if someone could give me a tip to my problem:
Tank you very much.
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