SiteKiosk Object



 
Main object of the SiteKiosk object model.


Members Table

Remarks
    This object is available in the form of scripts when you are using SiteKiosk. Use the SiteKiosk object to examine or modify the running SiteKiosk application. The SiteKiosk object can be referenced directly.

    Before you can use the SiteKiosk objects in a script you need to call the function window.external.InitScriptInterface() to initialize the script interface.

    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 ckecks for the browser and shows the ProcessID property if SiteKiosk is used.

    <SCRIPT TYPE="text/javascript">
    function InitSiteKiosk()
    {
       try
       {
          window.external.InitScriptInterface();
       }
       catch(e)
       {
          return false;
       }
       return true;
    }
    if (InitSiteKiosk())
    {
       document.write("ProcessID: " + SiteKiosk.ProcessID);
    }
    else
    {
       document.write("You have to use the SiteKiosk browser");
    }
    </SCRIPT>
    

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

Back to top