PayDownloads Property



 
The PayDownloads property indicates whether downloads are charged.


Syntax

    [bool=] SiteKiosk.Plugins("SiteCash").PayDownloads
    
Possible Values
    Boolean value that indicates whether downloads are charged.

    The property is read only.
Remarks
    The price will be charged per download.
Examples
    The following example determines whether downloads are charged and shows the price in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    dloadPay = SiteKiosk.Plugins("SiteCash").PayDownloads;
    dloadPrice = SiteKiosk.Plugins("SiteCash").DownloadPrice;
    if (dloadPay) alert("Price per download: " + dloadPrice);
    else alert("Downloads are for free");
    </SCRIPT>
    

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

Back to top