|Version 3 (modified by rjollos, 7 years ago) (diff)|
Fold content areas in wiki pages
This is a tiny wiki-macro that allows folding of areas. it simply hides and displays them when you click on a configurable area. Might be useful for long pages. It is possible to set the initial visibility so certain areas can be hidden by default and be viewed on click.
If you have any issues, create a new ticket.
Download the zipped source from [download:foldingmacro here].
[[Folding(printscript)]] [[Folding(activator,idoftheregiontobeunfolded,wiki,== click me to view ==)]] [[Folding(begin,idoftheregiontobeunfolded,none)]] this area is folded by default [[Folding(end)]] [[Folding(activator,idoftheregiontobefolded,none,<h2>click me to hide</h2>)]] [[Folding(begin,idoftheregiontobefolded,inline)]] this area is visible by default [[Folding(end)]]