News for hackers. Stuff that matters.
Re:HTML and CSS techniques to reduce your JavaScript by joeframbach on Thursday June 03, 2021 @11:57PM (#27390392)
An accordion widget is simply a series of radio button followed by div. You can see this in action at amazon.com in a product page with multiple purchase options, the buy button will have a radio with multiple options, it's just a radio button. An accordion that allows multiple open panes is a series of checkbox followed by div. More advanced, you can create a flashcard app by allotting two checkboxes per card. I used this technique around 3 years ago when I was studying kanji: http://sokogakuen.framba.ch

There are no comments on this comment yet.