Alan,
There most certainly is. In the following js code the var newWindow is declared as a global variable so that it can be accessed outside of the function it was declared in.
[script language ="javascript"]
var newWindow
function makeNewWindow() {
        newWindow = window.open(" "," ","height=300,Width=300")
}
function closeNewWindow() {
        if (newWindow) {
         newWindow.close()
}
[/script]

~Brian Mowers


At 02:25 PM 9/30/02 -0700, you wrote:
hello, i was wondering if there was a way to detect in JS or otherwise if a window has been closed?

Reply via email to