# CreateHTMLDialog Method The CreateHTMLDialog method creates an object that contains a HTML dialog. Syntax
    [obj=] SiteKioskConfig.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 = SiteKioskConfig.CreateHTMLDialog();
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ShowDialog();
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top