jquery to toggle sub-menu but keep sub-menu open if sub-menu page active

后端 未结 3 1769
臣服心动
臣服心动 2020-12-21 07:17

Just trying to dive into jquery and forgive me if this has already been answered. Searched but couldn\'t find an example relevant to what I\'m trying to do.

I have a

3条回答
  •  一生所求
    2020-12-21 07:43

    What about removing this line

    menu_ul.filter(':visible').slideUp('normal');
    

    It would prevent to hide the inactive menus.

    Give it a try and let us know.

提交回复
热议问题