Skip to main content

Common attributes

AttributeTypeDefaultDescription
showOnViewSTRINGbook,index,slide,scrollSpecifies in which views the element is displayed. It can be either book, index, slide, scroll or a comma separated list of views (ex: book,slide).
showOnModeSTRINGnormal,fullscreenSpecifies in which modes the element is displayed. It can be either mini, normal, fullscreen or a comma separated list of modes (ex: normal,fullscreen).
showOnStateSTRINGnormal,zoomSpecifies in which states the element is displayed. It can be either normal or zoom.
showOnPagesSTRINGfirst-lastSpecifies on which pages the element is displayed. It can be either a page number (ex: 3), a range of pages (ex: 1-9), first for the first page, last for the last page or a comma separated list of pages (ex: 1,7-9,last).
showOnDirectionSTRINGltr,rtlSpecifies in which direction the element is displayed. It can be either ltr (left to right), rtl.
behaviorsSTRINGA comma separated list of behavior references or group (ex: fade,sound+cursor). Behaviors separated by a comma are triggered one after the other. Behaviors in a group are triggered simultaneously.

You can group behaviors together so that they will be triggered simultaneously.

To group behaviors, simply use the + symbol.

Example
<layout behaviors="fade+sound" ></layout>

Scope​

These attributes apply to the following statement: