Jquery UI Nested Accordion with Content in top level Accordion

前端 未结 2 1475
既然无缘
既然无缘 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 08:44

    This should work

    One

    I really want a list here!

    A

    • list
    • list
    • list

    B

    • list
    • list
    • list

    Two

    <-- A Wrapper -->
    • But They
    • Do Not
    • Work

    A2

    • list
    • list
    • list

    B2

    • list
    • list
    • list

    Demo: Fiddle

    For the tab Two you need to create another wrapper element and place the ul and child accordion as its children

提交回复
热议问题