$annotation-style — Selects the annotation style.

Defined in:
Used in:
param.xsl, modules/chunk-cleanup.xsl


  |$annotation-style := 'javascript'


An annotation can be used to add annotations to arbitrary elements. Annotations are formatted something like footnotes, they appear at the bottom of the page and are linked from the point of the annotation. There are two annotation styles, “javascript” and “inline”.

If the annotation style is “javascript”, a script reference will be added. The script hides the annotations at the bottom of the page and instead renders them as modal dialogs when the marks are clicked. The presentation is accessible in the absence of JavaScript.

If the annotation style is “inline”, then the script is not included and the default presentation is used. No other values are supported at this time.