StringTable Object



 
The StringTable object controls the skin language.


Members Table

    The following table lists the members provided by the StringTable object.

    Members

    Properties Description
    SelectedLanguage Contains the selected language.

    Methods Description
    LoadFile Loads the strings from a file.
    LoadString Returns a single string.
    SelectLanguage Selects a supported language.

Remarks
    This object is available through the SiteKioskWindow main object and returned by the SiteKioskUI.CreateStringTable or SiteKioskConfig.CreateStringTable method. Use the StringTable object to choose a stringtable file or to change the skin language.

    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 shows the first button title in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKioskWindow.StringTable.LoadString(1));
    </SCRIPT>

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

Back to top