Closes all defined windows if the window is open.

Syntax

JSV_closeAllWindows()

Returns

n/a

Parameters

n/a

Remarks

n/a

Dependencies

n/a

Example

The following lines of code

function openMyWindows() {
    var myWindow = "Flash_Gordon";
    var wasOpened = JSV_openWindow(myWindow, 'testpage2.htm', 'status=1,scrollbars=1,resizable=1,width=580,height=240,left=20,top=20,screenX=20,screenY=20');
    var myWindow = "Captain_Zoom";
    var wasOpened = JSV_openWindow(myWindow, 'testpage.htm', 'status=1,scrollbars=1,resizable=1,width=580,height=240,left=40,top=40,screenX=40,screenY=40');
}

function closeMyWindows() {
    JSV_closeAllWindows();
}

produce two windows and then close them when the buttons are clicked