IsDialogRunning Method



 
The IsDialogRunning method returns whether a dialog of a specified type is running.


Syntax

    [bool=] SiteKiosk.SiteKioskUI.IsDialogRunning(dtype)
Parameters
    dtype String that specifies the type of dialog.
Return Value
    Returns a Boolean value that indicates whether a dialog of the specified type is running.
Remarks
    You can handle existing dialogs defined in the browser skin files or own dialogs.
Examples
    The following example determines if an "actionforbidden" dialog exists and shows it in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.SiteKioskUI.IsDialogRunning("actionforbidden"));
    </SCRIPT>

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

Back to top