SiteKiosk Documentation
One Step Back

OnAddProgress Event




Fires when the progress of adding files to the AudioFiles collection changes.


Syntax

    SiteKiosk.CDRecording.OnAddProgress = handler
Parameters
    stepsLong value that contains the completed steps.
    totalstepsLong value that contains the total number of steps.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the progress while adding files to the AudioFiles collection.

    <div id="id_add">Adding: 0 / 0</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    
    var lk_CDRecording = SiteKiosk.CDRecording;
    lk_CDRecording.OnAddProgress = OnAddProgress;
    function OnAddProgress(steps, totalsteps)
    {
       id_add.innerHTML = "Adding: " + steps + " / " + totalsteps;
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -