SiteKiosk Documentation
One Step Back

RemoveEvent Method




The RemoveEvent method removes an event.


Syntax

    SiteKiosk.Scheduler.RemoveEvent(id)
Parameters
    idInteger value that specifies the event ID.
Return Value
    None.
Remarks
    None.
Examples
    The following example creates a periodic event and removes it after the first call.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    evtid = SiteKiosk.Scheduler.AddPeriodicEvent(5000, myfunction);
    function myfunction(eventID)
    {
       alert("5 seconds have passed");
       SiteKiosk.Scheduler.RemoveEvent(eventID);
    }
    </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 -