Wikipedia - Expandable Table of Contents

Added by luckymouse@userstyles, Created: Nov 23, 2010, Updated: Jan 20, 2014
  • With the style applied
  • With the style applied (Generated screenshot)
  • Without the style applied (Generated screenshot)
Style A or Style B?


This style can minimize the Table of Contents in two ways:

Style A: Affixes the Table of Contents to the top-left corner, represented by a small icon. It stays there as you scroll. Hover over the icon and the ToC will appear.

Style B: A long, thin bar will be placed at the left side. When hovered, it will expand to show the ToC - an expandable sidebar. Height is set at 93% so that the status panel pop-up won't interfere. If you're using Status-4-Evar, you can safely set the height to 100%.

Warning: These styles don't display well with horizontally oriented Table of Contents, usually seen at list pages.

More info
expandable sidebar static fixed float floating sticky menu table contents

Similar style at
Similar style at

  • Modified Style A to have scrollbars when content overflows too.
  • Made table elements (tbody,tr,td) of ToC display block.
  • Changed width of ToC to 36%, minimum width set to 360px.
  • Changed style name to something more obvious (Fixed -> Expandable).
  • Styled scrollbars for both Firefox and Chrome (Gecko and WebKit)

You should to add comment and rate the style.


+ Create discussion

Applies to:
CC0 1.0 Universal.
luckymouse@userstyles has waived all copyright and related or neighboring rights to Wikipedia - Expandable Table of Contents, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.