Function: RenderTableOfContent

Renders a table of content with or without twisty

Documentation

TODO

Parameters
  • TOGGLE - Option to include a twisty to show/hide the table of content. Set to either "show" or "hide" to determine initial state of twisty.

Css
  • None

Implementation

%STARTINCLUDE%
%IFDEFINED{"%TOGGLE%" then="$percntTWISTY{mode=\"div\" start=\"$variable\" showlink=\"Show Table of Contents\" hidelink=\"Hide Table of Contents\" showimgleft=\"$percntICONURLPATH{toggleopen-small}$percnt\" hideimgleft=\"$percntICONURLPATH{toggleclose-small}$percnt\" }$percnt" glue="off"}%
%TOC{"%BASETOPIC%" web="%BASEWEB%"}%
%IFDEFINED{"%TOGGLE%" then="$percntENDTWISTY$percnt" glue="off"}%
%STOPINCLUDE%

Test

Calls to 'RenderTableOfContent'

(C) 2006 LynnwoodBrown@Skyloom.com

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Middle Fork Home Wiki? Send feedback
Syndicate this site RSS