# OnRecalcBarLayout Event Fires when a page requires a different layout for the tool bars. Syntax
    SiteKioskWindow.SiteKioskWebBrowser.OnRecalcBarLayout = handler
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows an alert window when the bar layout is being recalculated.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKioskWindow.SiteKioskWebBrowser.OnRecalcBarLayout = ORBLayout;
    function ORBLayout()
    {
       alert("New bar layout");
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top