CreateHTMLDialog Method



 
The CreateHTMLDialog method creates an object that contains a HTML dialog.


Syntax

    [obj=] SiteKiosk.SiteKioskUI.CreateHTMLDialog()
Return Value
    Returns a SKHtmlDialog object that represents the new HTML dialog.
Remarks
    The created dialog has the following default values:

    Border = true
    Closable = true
    CloseOnInput = false
    Height = 300
    PreventInput = false
    ScrollBars = false
    Sysmenu = true
    Title = false
    TopMostWindow = false
    Width = 400
Examples
    The following example creates a HTML dialog and shows it.

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

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

Back to top