This documentation is for the old version. Go to the latest Upload Suite docs

informationBar.warningColor Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a color of the information bar when it displays a warning message.

Syntax

JavaScript Initialize
$au.uploader({
    informationBar: {
        //...other params...
        warningColor: "#fde2a6",
        //...other params...
    }
})

Property Value

Type: String

The color of the warning message. Such messages are displayed when a file does not meet specified restrictions.

The color string should be specified in a hex representation of the RGB triad in HTML-style syntax (#rrggbb).

Default value is "#fde2a6".

See Also

Reference