wiki:FoldingMacro

Foldable wiki content

Description

This is a Trac macro that allows folding of areas. It simply hides and displays them when you click on a configurable area. This is in particular 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.

See also: CollapsiblePlugin, FoldMacroProcessorMacro

Bugs/Feature Requests

Existing bugs and feature requests for FoldingMacro are here.

If you have any issues, create a new ticket.

defect

2 / 2

task

1 / 1

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
(more)

Author/Contributors

Author: wanagi
Maintainer: Thorsten Ott
Contributors:

Last modified 7 months ago Last modified on Dec 15, 2015, 4:49:45 AM