SiteKiosk Documentation
One Step Back

OnLanguageChange Event




Fires when a user changes the SiteKiosk language.


Syntax

    SiteKiosk.LocaleManager.OnLanguageChange = handler
Parameters
    langidLong value that contains the language ID.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the current language ID when it has been changed.

    <div id="id_langid"></div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.LocaleManager.OnLanguageChange = OnLanguageChange;
    function OnLanguageChange(langid)
    {
       id_langid.innerHTML = "Current language: " + langid;
    }
    </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 -