AttachScriptInterfaces Method



 
The AttachScriptInterfaces method attaches the SiteKiosk objects to a webbrowser object.


Syntax

    SiteKiosk.AttachScriptInterfaces(webbrowser)
    
Parameters
    webbrowser WebBrowser object that contains the webbrowser.
Return Value
    None.
Remarks
    None.
Examples
    The following example attaches the SiteKiosk objects to the webbrowser of the first window in the window list.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    firstwin = SiteKiosk.WindowList.Windows.Item(1);
    webbr = firstwin.SiteKioskWindow.SiteKioskWebBrowser.WebBrowser;
    SiteKiosk.AttachScriptInterfaces(webbr);
    </SCRIPT>
    

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

Back to top