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 Help and Visual Studio Help
Toggles are fully functional in all these formats. In WebHelp JavaScript must be turned on for the toggles to be operational. If JavaScript is turned off, the toggles are automatically displayed in their expanded state. For eWriter Help JavaScript must be activated in the user's Internet options in Windows, which control the configuration of the Internet Explorer based WebView component in Windows which is used to display HTML files.
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.
eBooks
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.
Expanding inline text toggles
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.
Expanding image toggles
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: