SID-01066: Format TOC display
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
|
| Category: |
CategoryEditing |
Server OS: |
|
Last update: |
15 years ago |
I don't know how to create and manage advanced display of the TOC.
I am looking for a way to display a long TOC as either dynamic expand/collapse levels, or in two columns.
I only have three levels h1, h2, h3.
Only one H2 has H3s under it, but there are a lot of them. The actual content under each of those h3s is minimal, and it's reasonable to keep it all in the same topic rather than break the content into several topics. Well, really, it's important to keep it all on the same page.
I want to hide the H3s under a dynamic link. For example, click a plus symbol next to an H2 and the H3s are displayed. Then click a minus symbol and the H3s are hidden.
I've had some interesting results putting the TOC in a twisty and using nested Twistys; but in the end it's just not right.
Alternatively, is there a way to use columns to display the TOC across the top of the page rather than down the page.
I know I am overlooking something... maybe the solution uses renderlist?
Thanks for your advice.
--
DeanCloutier - 2010-12-21
Discussion and Answer
Do you need to H3 in the TOC? You can limit the depth of the TOC with a
depth="2" parameter. See
VarTOC2.
I am not sure if it is possible to turn a TOC into a collapsible bullet list. Look into
TreeBrowserPlugin.
--
PeterThoeny - 2010-12-21
--
DeanCloutier - 2010-12-22
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.