Close Method
The Close method closes an existing window.
Syntax
SiteKiosk.WindowList.Close(handle)
|
Parameters
handle |
Handle that represents a window. |
Return Value
Remarks
The main window can not be closed.
Examples
The following example will close the current window when the link is clicked.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
thiswindow = SiteKiosk.WindowList.ActiveWindow;
function doClose()
{
SiteKiosk.WindowList.Close(thiswindow.Handle);
}
</SCRIPT>
<a href="javascript:doClose();">Close this window</a>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top