# OnCheckSurfArea Event Fires when SiteKiosk checks the surf area. Syntax
    SiteKioskWindow.SiteKioskWebBrowser.OnCheckSurfArea = handler
Parameters
URL | String that contains the new URL.
toplevel | Boolean value that indicates whether the main frame has been navigated.
target | String that contains the name of the target frame.
browserobj | Object that contains the browser.
Remarks The navigation will only be done if the event function returns true. The object that caused the event can be referenced in the event function using "this". Examples The following example shows an alert window when SiteKiosk checks the surf area.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKioskWindow.SiteKioskWebBrowser.OnCheckSurfArea = OnCheckSurfArea;
    function OnCheckSurfArea(URL, toplevel, target, browserobj)
    {
       alert('Surf area checked');
    }
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top