OnZoneBecameInvalid Event

Fires when the current zone becomes invalid.


    SiteKiosk.Plugins("SiteCash").OnZoneBecameInvalid = handler
    The current zone becomes invalid if it is transformed from a free zone into a pay zone. This may happen when you are using time-related prices.

    The object that caused the event can be referenced in the event function using "this".
    The following example shows an alert window when a zone became invalid.

    <SCRIPT TYPE="text/javascript">
    SiteKiosk.Plugins("SiteCash").OnZoneBecameInvalid = OZBInvalid;
    function OZBInvalid()
       alert("Zone became invalid.");

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

Back to top