There are three different types of toggles:
These toggles create a header with a hidden block of text that is displayed when the user clicks on the header. Here is an example of an expanding section toggle:
HTML Help, WebHelp, eWriter eBooks and Visual Studio Help
PDF, MS Word DOCX and Printed Manuals
In all these static formats toggles are automatically displayed in their expanded state. This is the default setting. However, you can also choose to have them displayed in their collapsed state if you want to do this.
Kindle Mobi and ePUB eBooks display toggles as static text and in their expanded state. Image toggles will display the target version of the toggle image in a separate page when the user clicks on it.
Note: The ePUB format does officially support scripting but since virtually no readers implement this support it should never be used in ePUB.
These toggles create a link like this Inline text toggles can be used instead of popups for definitions and other references. that expands when the user clicks on it to display additional text, that can be formatted in a different way to highlight it. The text is displayed in the flow of the paragraph, as though it had been pasted into the paragraph.
These toggles create a small version of a graphic or other image that expands when the user clicks on it. Here is an example of an expanding image toggle: