This question about Not sure...: Answered

TOC in Foswiki as TOC in wiki with border and hide/show options.

How to add TOC in foswiki like TOC in wikipage with border and hide/show options. Is it possible in foswike such kind of display table of contents?

-- DeepthiGaddipati - 07 Jan 2013

Heading 2 for the example

I've added a floating TOC with a Twisty to hide/shows the contents,

Example of the block

<div style="float: right; background: #F1F1F1; border: 2px solid #DADADA; -webkit-border-radius: 3px; padding: 4px; font-size: 85%; max-width: 40%;">
%TWISTY{showlink="Show Table Of Contents" hidelink="Hide TOC" firststart="show"}%
%TOC{title="Contents"}%
%ENDTWISTY%
</div>

You could possibly hide a lot of the complexity by using the EasyMacroPlugin.

-- GeorgeClark - 29 Mar 2013

 

QuestionForm edit

Subject Not sure...
Extension
Version
Status Answered
Related Topics
Topic revision: r2 - 29 Mar 2013, GeorgeClark - This page was cached on 18 Oct 2018 - 05:30.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy