2022.2

Table Of Contents
Scripts Pane column
l
Name:Thenameaddedtobetteridentifythescript.
l
Selector:Displaystheinitialtextorselectorthatthescriptappliesto.See"SelectorsinOLCon-
nect"onpage385.ControlScriptsandPostPaginationScriptsdonothaveaselector(see"Con-
trolScripts"onpage398and"PostPaginationScripts"onpage410).
Tip: FieldsfromtheDataModelpanecanbedraggeddirectlyintotheScriptspanetocreatea
TextScript.Additionally,Textscriptscanbedraggedintoanysectiontoaddthescript'splace-
holderattheinsertlocation.See"Variabledataintext:scriptsandplaceholders"onpage311.
Contextual menu options
l
New:Clicktocreateanewscriptorfolder.See"Buttons"onpage528foradescriptionofall
options.Whichscripttypesareavailabledependsonthecurrentsectionandscriptfolder.
l
Duplicate:Clicktocreateanexactcopyofthescript.
l
Delete:Clicktodeletetheselectedscript.Thisdoesnotdeleteanyelementortextinthetem-
plateitself.
l
Rename:Clicktoopenadialogtorenamethescript.ThisisthesameaschangingtheName
fieldintheEditScriptwindow,whichcanbeopenedbydouble-clickingthescript.
l
Enable/Disable:Clicktotriggerthescripttobeenabledordisabled.Disabledscriptsaregreyed
outanditalicandwillnotbeexecuted.See"Enable/disablescripts"onpage376
l
Import:loadascriptfromaScriptsfile(*.OL-script).
l
Export:savethescripttoaScriptsfile(*.OL-script).
l
Properties(Scriptfoldersonly):editthenameandexecution scopeofthefolder.See"Exe-
cutionscope"onpage375.
Stylespane
TheStylespaneshowswhichCSSstylerulesapplytothecurrentlyselectedelement.
Alinknexttoastylerulewillopenthefilewherethatparticularstyleisdefined.Thiscanbeeithera
CSSfileorthesourcefileofasectioniflocalformattingwasused(see"Stylingandformatting"on
page260).
Acrossed-outstylerulesignalsthatitwasoverruledbyanotherstylerule.Thishappenswhen:
l
Amorespecific,andthereforemoreimportantrule,isencounteredforthesameelement.See
"UsingamorespecificCSSrule"onpage269tolearnmoreaboutthespecificityofstylerules.
Page 529