SkinLanguages Collection



 
The SkinLanguages collection provides information about the skin languages provided by the current string table.


Members Table

    The following table lists the members provided by the SkinLanguages collection.

    Members
    Properties Description
    Count The number of provided skin languages.
    Methods Description
    Item Returns one item of the collection.

Remarks
    This collection is available through the SiteKioskWindow main object. Use the SkinLanguages collection to determine what skin languages are available.

    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 name of all available skin languages in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var myarray = "";
    SKLanguages = SiteKioskWebBrowser.SiteKioskWindow.SkinLanguages;
    for (var i = 1; i <= SKLanguages.Count; ++i)
    {
       myarray += SKLanguages.Item(i).Name  + '\n';
    }
    alert(myarray);
    </SCRIPT>
    

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

Back to top