SiteKiosk Documentation
One Step Back

Close Method




The Close method closes an existing window.


Syntax

    SiteKiosk.WindowList.Close(handle)
Parameters
    handleHandle that represents a window.
Return Value
    None.
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 topBack to top

© 1997-2010 PROVISIO - Aventura, USA & Muenster, Germany - SiteKiosk DevTeam