SiteKiosk Documentation
One Step Back

StringTable Object




The StringTable object controls the skin language.


Members Table

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

    Members
    PropertiesDescription
    SelectedLanguageContains the selected language.
    MethodsDescription
    LoadFileLoads the strings from a file.
    LoadStringReturns a single string.
    SelectLanguageSelects 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -