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 top