collapsible content (accordion effect) – test
-
See the Collapsible Content (accordion effect) section of the Advanced HTML support page.
Example:
<details><summary>flavors</summary>
- vanilla
- strawberry
- butter pecan
- pistachio
- chocolate chip
</details>
The blog I need help with is: (visible only to logged in users)
-
Hi @musicdoc1,
How can we help with that? Are you trying to do make that effect in a forum post, because it won’t work. This is only meant for the WordPress.com editor.
-
Hi, guys. Yes, it was just a test that failed. I might have forgotten to put add a “test” tag. It works in a page on a website of mine, so I thought it should work here.
Initially yesterday I’d tried the same code in a response on the topic I need to know how to add an attribute on my website. It had failed to work there, but I wanted to try it again, here, because in the first attempt I’d made a tweak after copying it from my blog page. So I’d wondered if the tweak might have caused the failure.
Thanks for the link. However, the code is still working in a test page on my main site. Both examples I made 21 months ago and a new one added yesterday are working perfectly there.
-
Btw, another objective this code is great for is to hide a large amount of text or code. : )
-
- The topic ‘collapsible content (accordion effect) – test’ is closed to new replies.