SiteKiosk Documentation
One Step Back

OnPopup Event




Fires when a popup is about to be displayed.


Syntax

    SiteKiosk.SiteKioskUI.PopupManager.OnPopup = handler
    
Parameters
    webBrowserSiteKioskWebBrowser object that contains the browser.
    flagsLong value that contains the flags (NWMF Enumerated Type).
    URLContextString that specifies the URL of the page that opens the popup.
    URLString that specifies the URL of the popup page.
    allowedBoolean value that indicates whether the popup is allowed.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays whether a popup is allowed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.SiteKioskUI.PopupManager.OnPopup = OnPopup;
    function OnPopup(webBrowser, flags, URLContext, URL, allowed)
    {
       alert(allowed);
    }
    </SCRIPT>

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -