SiteKioskWindow Object



 
The SiteKioskWindow object represents a window of the SiteKiosk application.


Members Table

Remarks
    This object is available in the form of scripts and can be used in combination with SiteKiosk. Use the SiteKioskWindow object to examine or modify the window in which SiteKiosk is running. The SiteKioskWindow object can be referenced directly.

    Before you can use the SiteKiosk objects in a script you need to call the function window.external.InitScriptInterface() to initialize the script interface.

    Note that the SiteKioskWindow object can only be used from within a browser skin file.
    To use the SiteKioskWindow object in other files it can be referenced through the main object SiteKiosk. E.g.: SiteKiosk.WindowList.MainWindow.SiteKioskWindow.SiteKioskWebBrowser.Navigate(SiteKiosk.URLs.Email, false);

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example calls a method of the SiteKioskWindow object that will hide the window after 3 seconds.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    window.setTimeout("SiteKioskWindow.Hide();", 3000);
    </SCRIPT>

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

Back to top