From - Sat Jun 14 23:07:49 1997
Path: world1.bellatlantic.net!news.bergen.org!davinci.bergen.org!jefpin
From: TechMaster Pinyan <jefpin@bergen.org>
Newsgroups: comp.lang.javascript
Subject: Re: If exists(window) ??
Date: Sat, 7 Jun 1997 14:11:53 -0400
Organization: Another Netscape News Server User
Lines: 21
Message-ID: <Pine.SGI.3.96.970607141108.19714A-100000@davinci.bergen.org>
References: <33985662.9EF@see.my.sig>
NNTP-Posting-Host: davinci.bergen.org
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Martin O'Murphy <MARTIN_O'MURPHY@see.my.sig>
In-Reply-To: <33985662.9EF@see.my.sig>

>	How can I detect the existance (or not) of a window previously
> opened with a window.open statement ?

Check it against null... i.e.

if (winname != null){
	do if win exists
}
else{
	whatever...
}

----------------
| "To be a rock, and not to roll."
| 	- Led Zeppelin
----------------
Jeff "TechMaster" Pinyan | http://www.bergen.org/~jefpin
HTML/CGI Designer and Consultant and JavaScripter
jefpin@bergen.org | TechMasterJeff@juno.com | TechMasterJeff@usa.net
Got a JavaScript question or problem?  Let me know!

