User Tools

Site Tools


op_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
op_script [2022/12/02 10:53] – removed - external edit (Unknown date) 127.0.0.1op_script [2023/09/02 14:27] (current) – [Main sections] jsmith
Line 1: Line 1:
 +====== Optional Property: Script... ======
 +This [[optional_properties|optional property]] enables the addition of custom [[wp>JavaScript]] code to add/change custom functionality to the page.
 +
 +===== Editor interface ======
 +{{:xerte-op-script-editor.png?direct&600|Screenshot of Script panel when added to editor}}
 +
 +==== Tooltip ====
 +Add Javascript to run either on first load or every view of the page
 +
 +===== Properties =====
 +
 +^ Property ^ Description ^ Type ^ Additional information ^
 +| Script | Enter custom Javascript code | Code |   |
 +| Execute | When to run the script {**First time page is viewed**/Every time page is viewed} | Drop-down |   |
 +