Part of the Sector ecosystem · 27 projects
This module provides a sidebar block that generates a table of contents for long content. It automatically creates links to H2 and H3 headings within the node's body and uses JavaScript to highlight the active heading as the user scrolls.
Creates block to show in sidebar beside long HTML documents. Table of Contents links are generated to h2, h3 headings in node body field.
Adds javascript to actively update URL hash to indicate 'active' heading (via Intersection Observer). Attempts to ignore scrolling to a new document location in response to a click on a ToC hyperlink, as distinct from user scrolling while reading.
Ask your assistant about Sector Table of Contents
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Required by
1 tracked project depends on this one
- Sector Multipage 49 sites
More in the Sector ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | Jun 9, 2025 | ||
| 2.x-dev | Dev | 9–10 | Jun 9, 2025 | ||
| 1.0.0-beta2 | Pre-release | 9–10 | Sep 18, 2024 | ||
| 1.0.0-beta1 | Pre-release | 9–10 | May 24, 2023 |