Maximize Method



 
The Maximize method maximizes an existing window.


Syntax

    SiteKiosk.WindowList.Maximize(handle)
Parameters
    handle Handle that represents a window.
Return Value
    None.
Remarks
    The main window cannot be maximized.
Examples
    The following example maximizes or minimizes the current window when 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