Move Method



 
The Move method moves and resizes the window.


Syntax

    SiteKioskWindow.Move(iLeft, iTop, iWidth, iHeight)
Parameters
    iLeft Integer value that specifies the new coordinate for the left margin.
    iTop Integer value that specifies the new coordinate for the top margin.
    iWidth Integer value that specifies the width of the window.
    iHeight Integer value that specifies the height of the window.
Return Value
    None.
Remarks
    None.
Examples
    The following example calls a method of the SiteKioskWindow object that will move the window to new coordinates and resize it to 150*150 pixels provided it is not the main window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    if(!SiteKioskWindow.IsMainWindow) SiteKioskWindow.Move(50,50,150,150);
    </SCRIPT>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top