Skip to main content
Public

Share visualization

Loading preview…

Table of Contents

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Table of Contents

0
AAnnie Ulichney
Last edited Feb 12, 2021
Created on Feb 11, 2021
Forked from HTML Starter

This example shows a collapsible table of contents for a book’s chapters and sections. Clicking a chapter heading toggles the visibility of its nested subsections, with a plus or minus sign indicating the expanded state. The page uses jQuery’s `click` handler, `fadeToggle`, and DOM traversal to animate the hide-and-show behavior, while CSS controls the heading colors, margins, and dotted borders. The content is hardcoded in the HTML, and no external data source is loaded.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

ISC Licensed