OnSkinChange Event



 
Fires when the browser skin changes.


Syntax

    SiteKiosk.SiteSkin.OnSkinChange = handler
Parameters
    skinname String that contains the new skin name.
    subskinname String 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 top