# Minimize Method The Minimize method minimizes an existing window. Syntax
    SiteKiosk.WindowList.Minimize(handle)
Parameters
handle | Handle that represents a window.
Return Value None. Remarks The main window cannot be minimized. Examples The following example minimizes or maximizes the current window when the links are clicked on.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    function doMaximize()
    {
       thiswindow = SiteKiosk.WindowList.ActiveWindow;
       SiteKiosk.WindowList.Maximize(thiswindow.Handle);
    }
    function doMinimize()
    {
       thiswindow = SiteKiosk.WindowList.ActiveWindow;
       SiteKiosk.WindowList.Minimize(thiswindow.Handle);
    }
    </SCRIPT>
    <a href="javascript:doMaximize();">Maximize this window</a>
    <br><br>
    <a href="javascript:doMinimize();">Minimize this window</a>
Applies to SiteKiosk v5.0 (and later versions). Back to top