OnZoneBecameInvalid Event
Fires when the current zone becomes invalid.
Syntax
SiteKiosk.Plugins("SiteCash").OnZoneBecameInvalid = handler
|
Remarks
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".
Examples
The following example shows an alert window when a zone became invalid.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.Plugins("SiteCash").OnZoneBecameInvalid = OZBInvalid;
function OZBInvalid()
{
alert("Zone became invalid.");
}
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top