WindowType Property



 
The WindowType property contains the type of the window.


Syntax

    [Long=] WindowInfo.WindowType
Possible Values
    Long value that retrieves the window type.

    The property is read only.
Remarks
    Possible values are:

    1 : main window
    2 : browser window
    3 : application window
    4 : advertisement window
Examples
    The following example reads the WindowType property and shows it in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    thiswindow = SiteKiosk.WindowList.ActiveWindow;
    alert(thiswindow.WindowType);
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top