FileDownloader.BackgroundColor Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Background color of the region occupied by File Downloader.

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("BackgroundColor", "#ffffff");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setBackgroundColor(value);
value = getFileDownloader("FileDownloaderID").getBackgroundColor();

Property Value

A color value specified as the hex representation of the RGB triad in HTML-style syntax (#rrggbb). It specifies the background color of File Downloader.

Default value is "#ffffff".

Remarks

It is the color of the area under the Download button.