CreateHTMLDialog Method



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


Syntax

    [obj=] SiteCafe.UserInterface.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 = SiteCafe.UserInterface.CreateHTMLDialog();
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ShowDialog();
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top