Page 1 of 1

Toggle content~~~

Posted: 08 Jan 2023, 08:44
by TristanJo
Snipaste_2023-01-08_22-41-56.png
Snipaste_2023-01-08_22-41-56.png (92.45 KiB) Viewed 11621 times
[/size]

Hi~ karl~

Several FAQs were created using the toggle content function.
Can you make only one unfold like the image?

plz~~

Re: Toggle content~~~

Posted: 08 Jan 2023, 21:17
by mjau-mjau
TristanJo wrote: Faq-gif.gif
You can use the toggle plugin this also, but you would need to create the CSS for that style yourself ... Looks quite basic.

Optionally, or perhaps even recommended, you can now use HTML5 native <details> element.
https://developer.mozilla.org/en-US/doc ... nt/details

Basically a native toggle menu supported directly in browser that can be styled with CSS.
https://css-tricks.com/quick-reminder-t ... accordion/
https://gomakethings.com/creating-a-pro ... avascript/
https://nikitahl.com/native-html-accordion