SiteKiosk Documentation
One Step Back

CreateZone Method




The CreateZone method creates a new zone with a specified price.


Syntax

    [obj=] SiteKiosk.Plugins("SiteCash").CreateZone()
    
Return Value Remarks
    None.
Examples
    The following example creates a new zone with a specified price and adds it to the zone list.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    myZone = SiteKiosk.Plugins("SiteCash").CreateZone();
    myZone.ChargeMode = 1;
    myZone.CheckFrames = true;
    myZone.DefaultZone = false;
    myZone.FreeWhileZeroBalance = false;
    myZone.OverridesAlways = false;
    myZone.PricePerSecond = 0.001;
    myZone.StartPage = false;
    myZone.ZoneName = "My new zone";
    myZone.AddPattern("http://www.mysite.com/*");
    myZone.AddZone();
    </SCRIPT>
    

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

Back to topVolver arriba

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