SiteKiosk Documentation
One Step Back

GetPricePerHourForURL Method




The GetPricePerHourForURL method determines the price per hour for a specified URL.


Syntax

    [cur=] SiteKiosk.Plugins("SiteCash").GetPricePerHourForURL(url, if, zn)
Parameters
    urlString that specifies the URL.
    ifBoolean value that indicates if the URL is a frame.
    znString property that will be filled with the zone name.
Return Value
    Returns a Currency value that contains the price per hour for the specified URL.
Remarks Examples
    The following example shows the price and the zone name of a specified URL in an msg box.

    <SCRIPT TYPE="text/vbscript">
    Dim ZoneName
    Dim Price
    Dim SiteCash
    url = "http://www.sitekiosk.de/"
    window.external.InitScriptInterface
    Set SiteCash = SiteKiosk.Plugins("SiteCash")
    price = SiteCash.GetPricePerHourForURL(url, False, ZoneName)
    MsgBox(price)
    MsgBox(zonename)
    </SCRIPT>
    

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -