Toggle at top of the page, to expand or collapse all headers -elegant solution? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Toggle at top of the page, to expand or collapse all headers -elegant solution?

Hi folks, was almost done implementing something much like this, but still very green, wondering if this is the best approach, or? http://www.dynamicdrive.com/dynamicindex17/ddaccordion_suppliment.htm A few more lead in this el goog search... https://www.google.com/search?q=a+toggle+to+collapse+or+expand+all+headers+on+a+website%3F Thank-you!

5th Nov 2020, 7:50 AM
SaulL (Complete Beginner!)
4 Answers
+ 1
I would say try this approach unless it limits what you are attempting to achieve.
6th Nov 2020, 12:50 PM
Chris Coder
Chris Coder - avatar
0
as a long term subscriber and admirer of this comm, I was kinda hoping for a bit more dynamism than that, but thank you. that post is actually very outdated, my latest one is here, I will update here asap, but must go to bed, for now. https://dev.to/saulhj/toggle-at-top-of-the-page-to-expand-collapse-all-headers-elegant-solution-1p49 man typing in this is horrid, sigh, thanks again.
6th Nov 2020, 1:29 PM
SaulL (Complete Beginner!)
0
Many people ask questions that are not very specific and they go unanswered.
6th Nov 2020, 1:48 PM
Chris Coder
Chris Coder - avatar
0
I said i will fix asap, its not utterly unspecifc though with the latest referrence, but yeah, bulk missinng
6th Nov 2020, 3:27 PM
SaulL (Complete Beginner!)