# Foreground Property The Foreground property indicates if the dialog is in the foreground. Syntax
    [bool=] SKHtmlDialog.Foreground
Possible Values
    Boolean value that retrieves the foreground status.
The property is read only. Remarks None. Examples The following example determines if the dialog is in the foreground and shows it in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ShowDialog();
    </SCRIPT>
    <a href="alert(mydialog.Foreground)">show foreground status<a>
Applies to SiteKiosk v5.5 (and later versions). Back to top