OnStatusChanged Event
Fires when the status of the download changes.
Syntax
SiteKiosk.Network.Downloads.Item(index).OnStatusChanged = handler
|
Remarks
The object that caused the event can be referenced in the event function using "this".
Examples
The following example shows an alert window when the status of the first existing download changed.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.Network.Downloads.Item(1).OnStatusChanged = OnStatusChanged;
function OnStatusChanged()
{
newstat = SiteKiosk.Network.Downloads.Item(1).Status;
alert('New status: ' + newstat);
}
</SCRIPT>
|
Applies to
SiteKiosk v5.5 (and later versions).
Back to top