Expandable Menu Issue


#21

You can just hide each of the submenus:

  $(".submenu").hide();

If you want all of the submenus to be hidden except for the first one, you can use:

  $(".submenu:not(:first)").hide();

For example: https://jsfiddle.net/h30gd9mo/1/


#22

@Paul_Wilkins <h3> About is open !


#23

Paul gave you the instructions for hiding all the dropdowns in the post above. Just change the first line of the JS to the first version, which which will hide all, rather than the second version, which doesn't hide the first section.


#24

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.