OnShowSplitWindow Event



 
Fires when the visibility of the split window has changed.


Syntax

    SiteKiosk.SiteKioskUI.OnShowSplitWindow = handler
Parameters
    visible Boolean that is true if a split window is visible.
Remarks
    The split window is in use if the main window of SiteKiosk shares its space with other content, e.g. Digital Signage. The split window area would then show the Digital Signage content.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows whether a split window is visible or not.

    <div id="id_visible">Visibility of the split window</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.SiteKioskUI.OnShowSplitWindow = 
    OnShowSplitWindow;
    function OnShowSplitWindow(visible)
    {
       id_visible.innerHTML = "Split window: " + visible;
    }
    </SCRIPT>

Applies to
    SiteKiosk v8.9 (and later versions).

Back to top