Template:HoverTOC

From LGPedia
Revision as of 21:13, 9 August 2007 by Renegade (Talk | contribs) (Changing category sort key)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template reduces the Table of Contents to a small, right-floating block that expands if the user hovers over it. This is useful for pages with big TOCs, where the displaying of the TOC ruins the layout.

Usage

{{HoverTOC}}
align= can be set to either left, right or none. right is default.
space= can be set to control the margin on align's side (if it's left or right). It defaults to 10.