SiteKiosk Documentation
One Step Back

LoadScript Method




The LoadScript method loads a script file.


Syntax

    [obj=] SiteKiosk.LoadScript(path)
Parameters
    pathString that specifies the path of the script file.
Return Value
    Returns an object containing all members of the script file.
Remarks
    Possible script file types are .js and .vbs.
Examples
    The following example shows how to load a script and access a member defined in the script.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydisp = SiteKiosk.LoadScript("c:/myscript.js");
    alert(mydisp.membername);
    </SCRIPT>
    

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

Back to topVolver arriba

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