SiteKiosk Documentation
One Step Back

OnAddPlugin Event




Fires when a plugin is added.


Syntax

    SiteKiosk.OnAddPlugin = handler
Parameters
    pluginString that contains the name of the added plugin.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows its name when a new plugin has been added.

    <div id="id_plugin">Add a plugin</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.OnAddPlugin = OnAddPlugin;
    function OnAddPlugin(plugin)
    {
       id_plugin.innerHTML = "Added plugin: " + plugin;
    }
    </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 -