Determines whether or not the named window has been defined.
JSV_isWindowDefined(winName)
The JSV_isWindowDefined
returns true if the
window has been defined; otherwise, false.
The JSV_isWindowDefined function uses the following arguments.
Argument | Description |
winName |
The name of a window that may have been created using either
JSV_openWindow
or JSV_defineWindow .
|
n/a
n/a
The following lines of code
var myWindow = "Jack_in_the_Box";
function windowDefinition() {
var dummy = JSV_defineWindow(myWindow,
'testpage.htm',
'menubar=1,status=1,scrollbars=1,resizable=1,width=580,height=240,left=40,top=40,screenX=40,screenY=40');
}
function windowTest() {
if ( JSV_isWindowDefined(myWindow) )
alert(myWindow + ": Window has been defined.");
else
alert(myWindow + ": Window has not been defined.");
}
produce
Copyright © 1999-2000 Roaring Fork Software. All rights reserved.