# UserInterface Object The UserInterface object provides creating user interface elements. Members Table The following table lists the members provided by the UserInterface object.
Members
Objects | Description
CommonDialogs | Provides standard dialogs.
ScreenSize | Screen size information.
Workarea | Workarea size and position information.
Methods | Description
CloseAllDialogs | Closes all dialogs.
CloseHtmlDialogs | Closes all HTML dialogs of a specified type.
CreateHTMLDialog | Creates a new HTML dialog.
CreateMenu | Creates a new menu.
CreatePopupMenu | Creates a new popup menu.
CreateToolTip | Creates a new tooltip.
IsDialogRunning | Returns whether a dialog is running.
OpenHelp | Opens a Help file.
Remarks This object is available through the object SiteCafe. Use the UserInterface object to create user interface elements. Examples The following example displays the workarea width.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteCafe.UserInterface.Workarea.Width);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top