FileDownloader.ProgressDialogDownloadDetailsText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a text in the progress displaying data transfer rate and time left before the download finishes.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500);
//...other params...
fd.addParam("ProgressDialogDownloadDetailsText", "([Rate], [TimeLeft] left)");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setProgressDialogDownloadDetailsText(value);
value = getFileDownloader("FileDownloaderID").getProgressDialogDownloadDetailsText();

Property Value

The text in the progress displaying data transfer rate and time left before the download finishes.

The following special keyword is used in this text label:

[Rate]

Replaced with the current data transfer rate.

[TimeLeft]

Replaced with the estimated time left before the download finishes.

Default value is "([Rate], [TimeLeft] left)".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference