Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Section
Column
width50%

The Table of Contents component will construct and display a formatted list of links to all headers in a document.

Subcomponent Name: fluid.tableOfContents


Creation

Code Block
javascript
javascript
fluid.tableOfContents(container, options);

Parameter

container

The container is a CSS-based selector, single-element jQuery object, or DOM element that contains the headings that are to be included in the Table of Contents. This may typically be the entire document, but could be limited to a part of the document.

options

The options object is an optional collection of key/value pairs that can be used to further configure the Table of Contents, as described below in the fluid:Options section.

Column
Panel
borderStyle
borderColor#321137
bgColor#fff
titleBGColor#aab597
borderStylesolid
titleStatussolid

This component is in Sneak Peek status

solid
Panel
borderStyle
borderColor#566b30
bgColor#fff
titleBGColor#D3E3C4
borderStylesolid
titleOn This Page
Table of Contents
toc
maxLevel
maxLevel
5
minLevel25
Panel
borderColor#321137
bgColor#fff
titleBGColor#c1b7c3
borderStylesolid
titleSee Also
borderStylesolid
Panel
borderColor#321137
bgColor#fff
titleBGColor#cccccc
borderStylesolid
titleStill need help?borderStylesolid

Join the infusion-users mailing list and ask your questions there.

...