Help:ToggleDisplay
From Apache OpenOffice Wiki
This extension allows you to show and hide regions on a page by clicking on a link.
The simplest usage is:
<toggledisplay> hidable text </toggledisplay>
What you will see is a link "[show details]" in small font and nothing else. When you click on the link, the hidable text will be shown and the link text changes to "[hide details]". When you click again, you return to the initial state.
The following optional parameters can be used with the <toggledisplay> tag:
Parameter | Default | Explanation |
---|---|---|
status | hide | Initial state when the page is first displayed. May be hide or show. |
showtext | [show details] | Link text when hidable area is hidden. |
hidetext | [hide details] | Link text when hidable area is shown. |
linkstyle | font-size:smaller | CSS style specification for the link. |