wiki:FoldingMacro

Foldable content

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for FoldingMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out FoldingMacro from here using Subversion, or browse the source with Trac.

Example

[[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)]]

Recent Changes

[771] by wanagi on 2006-05-16 19:24:03
FoldingMacro:

initial version. might be still buggy so use it at your own risk.
documentation and usage advice in the script header

[770] by wanagi on 2006-05-16 19:09:23
New hack FoldingMacro, created by wanagi

Author/Contributors

Author: wanagi
Maintainer: wanagi
Contributors:

Last modified 4 years ago Last modified on Aug 28, 2010, 6:51:30 AM