Expand/Collapse Dropdown

HI I am trying to create and expand/collapse on my menu/submenu and was wondering how I can create that with javascript? Page:


I want to collapse the sub links under main categories and add a carrot before the category name

That’s called an accordion. They’re fairly simple to create.

See here: https://www.w3schools.com/howto/howto_js_accordion.asp

1 Like

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