PopupManager Object
The PopupManager object controls the popup management.
Members Table
The following table lists the members provided by the PopupManager object.
|
Property |
Description |
BlockingEnabled |
Whether popup blocking is enabled. |
|
Methods |
Description |
ExcludePages |
Excludes the specified pages from popup blocking. |
|
Events |
Description |
OnPopup |
Fires when a popup is about to be displayed. |
OnPopupBlocked |
Fires when a popup has been blocked. |
|
Remarks
This object is available through the SiteKioskUI object.
Use the PopupManager object to change the way SiteKiosk blocks popups.
Note that the path of a file using SiteKiosk objects must be allowed in the
SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
if it is not a browser skin file.
Examples
The following example determines whether popup blocking is enabled and displays it in an alert window.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
alert(SiteKiosk.SiteKioskUI.PopupManager.BlockingEnabled);
</SCRIPT>
|
Applies to
SiteKiosk v6.5 (and later versions).
Back to top