2019.2

Table Of Contents
Note
Which style sheets are included can also be set for the Web context as a whole: in step
1, right-click the Web context, instead of a section.
Setting a default Web page for output
When generating output from the Web context, only one of the Web templates can be merged
with each record.
To select the Web section that will be output by default:
l
On the Resources pane, expand the Web context, right-click a section and click Set as
Default.
Tip
Use a Control Script to dynamically select a Web section for output depending on the
value of a data field. See "Control Scripts" on page885.
Including JavaScript files
Which JavaScript files are included in the a Web section, depends on a setting for that section.
To change this:
1.
On the Resources pane, right-click a section in the Web context and click Includes.
2.
From the File types dropdown, select JavaScripts.
3. Choose which JavaScript files should be included in this section. The list at the left
displays the JavaScript files that are present in the template's resources. The list at the
right shows the style sheets and or JavaScript files that will be included in the output of
the current section (or Web sections, if you have selected the Web context). Use the
Include and Exclude buttons (or double-click) to move files from one list to the other.
4.
Click one of the included files and use the Up and Down buttons (or drag-and-drop) to
change the order in which the files are included.
For more information about using JavaScript files, see "Using JavaScript" on page564.
Page 551