OnSplitWindowAreaChanged Event



 
Fires when the size of the display area of the split window has changed.


Syntax

    SiteKiosk.SiteKioskUI.OnSplitWindowAreaChanged = handler
Parameters
    leftVal Long value that contains the space in pixels from the left.
    topVal Long value that contains the space in pixels from the top.
    rightVal Long value that contains the space in pixels from the right.
    bottomVal Long value that contains the space in pixels from the bottom.
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 an alert window when a window is minimized or maxmized.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.SiteKioskUI.OnSplitWindowAreaChanged = 
    OnSplitWindowAreaChanged;
    function OnSplitWindowAreaChanged(leftVal, topVal, 
    rightVal, bottomVal)
    {
       alert("new space in pixels from the right: " + rightVal);
    }
    </SCRIPT>
    

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

Back to top