SiteKiosk Documentation
One Step Back

OnNewDownload Event




Fires when a new download has been started.


Syntax

    SiteKiosk.Network.Downloads.OnNewDownload = handler
Parameters Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example removes every download directly when it has been started.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Network.Downloads.OnNewDownload = OnNewDownload;
    function OnNewDownload(newdownload)
    {
       SiteKiosk.Network.Downloads.Remove(newdownload);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v5.5 (and later versions).

Back to topVolver arriba

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