SiteKiosk Documentation
One Step Back

OnSkinChange Event




Fires when the browser skin changes.


Syntax

    SiteKiosk.SiteSkin.OnSkinChange = handler
Parameters
    skinnameString that contains the new skin name.
    subskinnameString that contains the new subskin name.
Remarks
    A browser skin change can be configured in the SiteKiosk configuration.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows an alert window when the browser skin changes.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.SiteSkin.OnSkinChange = OnSkinChange;
    function OnSkinChange(skinname, subskinname)
    {
       alert("Skin changed to " + skinname);
    }
    </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 -