A toggler is a feature that lets you "toggle" between hiding and showing a tagged chunk of content (e.g., paragraph, image, table, list, div). When users open the topic in the output, they will see a link (also called a "toggler hotspot"). This hotspot can be any text in the topic. When users click the hotspot, the hidden content is displayed. When users click the hotspot again, the content becomes hidden once more.
How to insert a toggler into a topic
If the tag block bars are not displayed to the left of the topic, click
.
To see a movie that explains these bars, ![]()
Hover over the appropriate tag bar next to the content that you want to toggle. When the cursor displays as a hand
, click the tag bar.
examples
If you want to use a particular paragraph as the toggled content, you would click the <p> tag bar to the left of it.
If you want to use an entire table as the toggled content, you would click the <table> tag bar to the left of it.
In the popup menu, select Name.
The Manage Named Elements dialog opens.
Click OK.
The named element is added, with a yellow flag
next to it. The flag will not display in the output. It is simply used to show you where a named element has been inserted. You can hide or show this flag by selecting the option in the View menu.
Select Insert>Toggler.
The Insert Toggler dialog opens.
Click OK.
The toggler hotspot now has the toggler icon next to it in the XML Editor. (The icon will not display in the output. It is simply used to show you where a named element has been inserted.)
to save your work.