![]() |
Previous | Next |
The scriptFile attribute specifies the file names of accompanying JScript files.
Syntax
elementID.scriptFile
Possible Values
This attribute is a write-only String with no default value. The file names of multiple JScript files are delimited with semicolons with no leading or following spaces.
Example
<VIEW id=“theView” scriptFile=“theScript.js”>
</VIEW>
Remarks
The code in the specified files can be used by any event handler in the View. Code that is used by event handlers in multiple Views can be placed in a file with the same name as the skin definition file but with a .js extension instead of a .wms extension. This file is loaded automatically and need not be specified in the skin definition file.
See Also
Previous | Next |