Hi
IE6 Win2k
The javascript FAQ describes how you can retain a reference to a window that
you have opened and manipulate the window - focus on it or close it, viz:
4.10 How do I check to see if a childwindow is open, before opening another?
var myWin=null;
function openWin(aURL) {
if (!myWin || myWin.closed ) {
myWin=window.open(aURL,'myWin');
} else{
myWin.location=aURL;
myWin.focus();
}
}
However, javascript variables appear to be reinitialised each time the
browser window
is refreshed so the mechanism described by the FAQ seems to be defeated if
the user refreshes the page.
a) Is it true that javascript variables are reinitiliised when the page is
refreshed?
b) If a) then is there some other way to monitor a child window from another
browser window despite user refreshes?
Thanks
Mike May