laxmi wrote:
Is there a way to test whether a named window is open from
a separate window which may not have opened the window?
<snip>
No, the name given to a window as the second argument to the -
window.open - function has no representation in the browser's object
model. To test characteristics of a window you need to have a reference
to the corresponding window object. That reference is returned by the
call to - window.open - but if that window reference is not available
then there is no way of getting it short of calling the - window.open -
function and passing it the same name as the second argument. Pop-up
blockers not withstanding, re-calling - window.open - with the required
name as its second argument will result in a window being opened in the
event that a window with that name was not already open, and navigation
of that window if it was already open but the URL passed as the first
argument to - window.open - is not the URL of the currently displaying
page.
Richard.