SiteKiosk Documentation
One Step Back

CenterWindow Method




The CenterWindow method centers the dialog on the screen.


Syntax

    SKHtmlDialog.CenterWindow()
Return Value
    None.
Remarks
    None.
Examples
    The following example creates, centers and shows a dialog.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.Title = true;
    mydialog.URL = "http://www.myaddress.com";
    mydialog.CenterWindow();
    mydialog.ShowDialog();
    </SCRIPT>

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -