2020.2

Table Of Contents
Scripts Pane column
l
Name: The name added to better identify the script.
l
Selector: Displays the initial text or selector that the script applies to. See "Selectors in
Connect" on page875. Control Scripts and Post Pagination Scripts do not have a
selector (see "Control Scripts" on page890 and "Post Pagination Scripts" on page906).
Tip
Fields from the Data Model pane can be dragged directly into the Scripts pane to create a
Text Script. Additionally, Text scripts can be dragged into any section to add the script's
placeholder at the insert location. See "Variable Data" on page785.
Contextual menu options
l
New: Click to create a new script or folder. See "Buttons" on page1055 for a description
of all options. Which script types are available depends on the current section and script
folder.
l
Duplicate: Click to create an exact copy of the script.
l
Delete: Click to delete the selected script. This does not delete any element or text in the
template itself.
l
Rename: Click to open a dialog to rename the script. This is the same as changing the
Name field in the Edit Script window, which can be opened by double-clicking the script.
l
Enable/Disable: Click to trigger the script to be enabled or disabled. Disabled scripts are
greyed out and italic and will not be executed. See "Enable/disable scripts" on page862
l
Import: load a script from a Scripts file (*.OL-script).
l
Export: save the script to a Scripts file (*.OL-script).
l
Properties (Script folders only): edit the name and execution scope of the folder. See
"Execution scope" on page862.
Styles pane
The Styles pane shows which CSS style rules apply to the currently selected element.
A link next to a style rule will open the file where that particular style is defined. This can be
Page 1057