-----------------------------------------------------------------------
FAQ Topic - 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();
}
}
http://msdn.microsoft.com/workshop/a...ies/closed.asp
http://docs.sun.com/source/816-6408-...ow.htm#1201877
===
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://www.jibbering.com/faq/.
The FAQ workers are a group of volunteers.