2021.2

Table Of Contents
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 page913.
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 page566.
Setting the title, meta data and a shortcut icon
Each Web section has a set of properties to define the title of the web page, the shortcut icon
and the meta tags appearing in the web page's head (with the HTML tag: <head>, see
https://www.w3schools.com/tags/tag_head.asp).
To change these properties:
1. On the Resources pane, expand the Web context, right-click the section and click
Properties.
2. Enter the Page Title. The contents of this field will go in the <title> HTML tag. (Name is
the name of the section in the Web context; this has no effect on output.)
3. Add a Shortcut Icon by entering the path to the favicon.ico file, for instance
images/favicon.ico.
Page 554