PROGRAMMING OVERVIEW AND USER INTERFACE


Incorporating a Javascript script library
Using a Javascript script library enables you can share Javascript functions across multiple design elements, such as forms and pages.

You can incorporate the following types of JavaScript script libraries:

Type:In the resulting HTML:
InlineInserts a <SCRIPT> tag that is executed when the document is loaded.
Associated with JS Header objectDisplays within the <HEAD> tag where the JS Header object is executed.

To incorporate a Javascript script library

1. Open the design element you want to add the library to in the Work pane.

2. Place the cursor where you want to incorporate the library. For:


3. Choose Create - Resource - Insert Resource from the menu.
4. Select Javascript Libraries from the Resource type list.

5. Select the library from the Available resources list and click Ok.


See Also