ProgressBarSettings Object



 
The ProgressBarSettings object controls the progress bar that displays remaining credit.


Members Table

    The following table lists the members provided by the ProgressBarSettings object.

    Members

    Properties Description
    BlockMode If the bar consists of blocks.
    Color1 Bar color to start with.
    Color2 Bar color to fade in.
    Gradient If the bar color is gradient.
    Visible If the progress bar is visible.

Remarks
    This object is available through the object SiteCash. Use the ProgressBarSettings object to change the appearance of the progress bar.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example determines if the progress bar is visible and shows it in an alert window.

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

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

Back to top