- From: Norm Tovey-Walsh <norm@saxonica.com>
- Date: Mon, 14 Oct 2024 10:02:42 +0100
- To: Dimitre Novatchev <dnovatchev@gmail.com>
- Cc: "public-xslt-40@w3.org" <public-xslt-40@w3.org>
Received on Monday, 14 October 2024 09:02:48 UTC
Dimitre Novatchev <dnovatchev@gmail.com> writes:
> May I propose that in addition to this the TOC is made collapsible/expandable?
Using details/summary seems like a good idea, but the results aren’t wholly satisfactory.
If the top-level sections use details/summary then the ToC is kind of useless *except* for a quick glance. Also, if only the top level sections use details/summary then there’s a sort of sharp transition from “just a title” to “all of everything.” Conversely, if every section that has subsections uses details/summary then it’s even harder to find what you might be looking for because you have to click open every section. Also: the rendering gets a little weird, but that might be fixable with more CSS.
I wonder if an abbreviated table of contents listing only the top-level sections, placed just before “1 Introduction”, might work better.
Be seeing you,
norm
--
Norm Tovey-Walsh
Saxonica
Received on Monday, 14 October 2024 09:02:48 UTC