# SiteKioskWindow Object The SiteKioskWindow object represents a window of the SiteKiosk application. Members Table The following table lists the members provided by the SiteKioskWindow object.
Members
Objects | Description
SiteKioskWebBrowser | Controls the current browser features.
StringTable | Controls the skin language.
Collections | Description
SkinLanguages | Informs about provided skin languages.
Properties | Description
Height | Height of the window.
IsMainWindow | If the window is the main window.
IsMultitouchCapable | If multitouch support is available.
Left | Left coordinate.
MultitouchEnabled | Enables/disables multitouch support.
OpticalZoom | Zoom rate.
OpticalZoomMax | Maximum zoom rate.
OpticalZoomMin | Minimum zoom rate.
Top | Top coordinate.
Visible | If the window is visible.
Width | Width of the window.
Window | Handle of the window.
Methods | Description
Close | Closes the window.
Hide | Hides the window.
Kill | Destroys the window.
Move | Moves the window.
SetFocus | Focuses the window.
Show | Shows the window.
Events | Description
OnSkinLanguageChange | Fires when the skin language changes.
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