Color1 Property



 
The Color1 property contains the bar color to start with.


Syntax

    [color=] SiteKiosk.Plugins("SiteCash").ProgressBarSettings.Color1
Possible Values
    ColorValue that retrieves the first color.

    The property is read only.
Remarks
    If the Gradient property is false, this is the color of the whole progress bar.
    ColorValue: An RGB (Red, Green, Blue) 32-bit color value that defines a solid color. Each of the Red, Green, Blue portions represents the color intensity between 0 and 255 (or 0x00 to 0xff hexadecimal). The RGB color value can be calculated: ColorValue = Red + Green*256 + Blue*65536. Please note that this representation differs from HTML-color values which are hexadecimal RRGGBB.
Examples
    The following example shows the first color in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").ProgressBarSettings.Color1);
    </SCRIPT>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top