DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:foldablelist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:foldablelist [2020-02-20 18:40] Aleksandrplugin:foldablelist [2022-06-06 17:28] (current) – added 2022 config options med-men
Line 6: Line 6:
 email      : med-men@gmx.net  email      : med-men@gmx.net 
 type       : syntax type       : syntax
-lastupdate : 2019-03-17 +lastupdate : 2022-06-06 
-compatible : Greebo, Elenor of Tsort, Frusterick Manners+compatible : Hogfather, Greebo, Elenor of Tsort, Frusterick Manners
 depends    :  depends    : 
 conflicts  conflicts 
Line 36: Line 36:
  
   * ''collapse_after'': number of items to show always   * ''collapse_after'': number of items to show always
 +  * ''button_css'': change appearance and position of the button via CSS
 +  * ''button_up_value'': change content of button to collapse
 +  * ''button_down_value'': change content of button to unfold
 +
 +Configuration for collapsing can be overwritten for each instance. The following would collapse each list (including nested lists) after 3 items:
 +
 +<code>
 +<foldablelist collapse_after=3>
 +  * item 1
 +  * item 2
 +  * item 3
 +      * item 3.1
 +      * item 3.2
 +      * item 3.3
 +      * item 3.4
 +      * item 3.5
 +  * item 4
 +  * item 5
 +</foldablelist>
 +</code>
  
 === Change Log === === Change Log ===
plugin/foldablelist.1582220435.txt.gz · Last modified: 2020-02-20 18:40 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki