Determines the number of windows that are open.
JSV_numberOfWindowsOpen()
The JSV_numberOfWindowsOpen
returns
the number of windows open. If no windows have been opened by
JSV_openWindow
,
then zero is returned.
n/a
n/a
n/a
The following lines of code
var myWindow = "Jack_in_the_Box";
function openMyWindow() {
var dummy = JSV_openWindow(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() {
var count = JSV_numberOfWindowsOpen();
alert( count + " window" + (count != 1 ? 's have' : ' has') + " been defined.");
}
produce
Copyright © 1999-2000 Roaring Fork Software. All rights reserved.