Jquery UI Nested Accordion with Content in top level Accordion

前端 未结 2 1483
既然无缘
既然无缘 2021-02-06 08:04

I\'m trying to create a navigation menu that contains multiple level of organization. I\'m building a nested jQuery UI Accordion that works great if all my content in the lowest

2条回答
  •  既然无缘
    2021-02-06 09:01

    Check out this fiddle

    You're correct that it looks at the next element after the header, therefore you can simply wrap the content of the top-level accordion with a div, then include your sub-accordion.

    Two

    • But They
    • Do Not
    • Work

    A2

    • list
    • list
    • list

    B2

    • list
    • list
    • list

提交回复
热议问题