plugin:sectiontoggle
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:sectiontoggle [2019-07-29 15:27] – [Examples/Usage] turnermm | plugin:sectiontoggle [2019-07-30 02:10] – [Override] turnermm | ||
---|---|---|---|
Line 5: | Line 5: | ||
author | author | ||
email : turnermm02@shaw.ca | email : turnermm02@shaw.ca | ||
- | type : syntax | + | type : |
lastupdate : 2019-07-28 | lastupdate : 2019-07-28 | ||
compatible : 2012-10-13 "Adora Belle", | compatible : 2012-10-13 "Adora Belle", | ||
Line 23: | Line 23: | ||
===== Installation ===== | ===== Installation ===== | ||
- | :!: **Requirements: | ||
Search and install the plugin using the [[plugin: | Search and install the plugin using the [[plugin: | ||
Line 31: | Line 30: | ||
This plugin converts DokuWiki headers into toggles which open and close the sections immediately below them. | This plugin converts DokuWiki headers into toggles which open and close the sections immediately below them. | ||
+ | ==== To Configure or Not to Configure ==== | ||
- | The plugin | + | The plugin will work out of the box with any template without any need for configuration. However, configuring the plugin as described in the section on [[# |
+ | ==== To Toggle or Not to Toggle ==== | ||
+ | === Toggling === | ||
- | When installed, the sections will initially be closed. Clicking on a header will open the section immediately below the header. Clicking on it again will close the section. Using the two buttons described [[# | + | When installed, the sections will initially be closed. Clicking on a header will open the section immediately below the header. Clicking on it again will close the section. Using the two buttons described [[# |
+ | |||
+ | === Disabling Toggles === | ||
+ | |||
+ | Headers without any text content below them will not be active and will not show the right arrow icon. They will simply be standard headers and not toggles. | ||
{{ https:// | {{ https:// | ||
Line 48: | Line 54: | ||
These buttons will be hidden if toggling is disabled, as described below under Configuration. | These buttons will be hidden if toggling is disabled, as described below under Configuration. | ||
- | ==== Override ==== | ||
- | This feature enables you to create a container '' | ||
- | < | ||
- | ~~stoggle_openDIV~~ | ||
- | ~~stoggle_closeDIV~~ | ||
- | </ | ||
- | You place the '' | ||
- | |||
===== Configuration ===== | ===== Configuration ===== |
plugin/sectiontoggle.txt · Last modified: 2023-12-31 18:13 by 24.78.8.122