FYI You can nest <details> tags within <ul> and vice versa to create a collapsible tree menu without JS or CSS

E.G.
<details>
<summary>Root</summary>
<ul>
<li>
<details>
<summary>Sub</summary>
<ul><li>etc...</li></ul>
</details>
</li>
</ul>
</details>

@cypnk
Whoa! I have been writing static pages for 10 years now... I have to try this out...

Follow

@cypnk
Also, I need a direct line to your brain. You have rather me so many things just in the past week...

@herag I have my moments ;)

BTW, this was from my current experiment in trying to create a little editor plugin for my blog script

Sign in to participate in the conversation
DOBBS.TOWN

Church of the SubGenius Members-Only MastoDobbs.