The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Can I have multiple Accordian Widgets on one page?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #29366


    I am wondering if it is possible to have multiple Accordion Widgets on a page, and if so, what the best way of doing so would be. Would I have to create separate CSS files with separate divs for each Accordion? Given that I want each Accordian to look identical and function exactly the same (just with different content in each section) I am hoping that I don’t have to do this and that there is a simpler way.

    You can see my page with two Accordians on here:

    The first four buttons on each bar are part of the Accordian (the rest is part of JPlayer). As things stand, the first Accordian works as expected, but clicking on the buttons of the second Accordian does nothing.



Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.