# AddZone Method The AddZone method adds the zone to the Payment Module zone list. Syntax
    SiteCashZone.AddZone()
Return Value None. Remarks Must be called after creating a new zone using the CreateZone method. 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 top