For Jeremy’s “Hire the founder” content, each of the collapsed items is initially rendered, but are hidden by using max-height:0; so they aren’t visible. When an item (e.g., “Impact on TiddlyWiki”) is clicked, the hidden content is shown by setting max-height:auto;. This allows the smooth opening using CSS transitions.
In contrast, the branches of the “selective expandable” TableOfContents are not rendered until they are actually opened, rather than being initially rendered but hidden. This is done because the TOC macros use recursion, and rendering the entire tree can be VERY expensive (e.g., the TiddlyWiki.com TableOfContents contains 1000s of items).
-e