OnSplitDockingSideChanged Event



 
Fires when the location of the split window has changed.


Syntax

    SiteKiosk.SiteKioskUI.OnSplitDockingSideChanged = handler
Parameters
    newlocation String that contains the new location of the split window.
Remarks
    The location can be one of the following:

    top
    bottom
    left
    right

    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 the new location of the split window.

    <div id="id_location">Location of the split window</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.SiteKioskUI.OnSplitDockingSideChanged = 
    OnSplitDockingSideChanged;
    function OnSplitDockingSideChanged(newlocation)
    {
       id_location.innerHTML = "New location: " + newlocation;
    }
    </SCRIPT>

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

Back to top