Hey guys, new to the forum. I was hoping somebody would be able to help me out. I’m working on a fixed left nav. It’s beating me up pretty bad. So what I need is to be able to toggle a menu section open while forcing others to quit. I got this set up and working in my file.
I realized I then need to close an open menu item on second click. I got this working in codepen and it uses almost the same code, but it WILL NOT work in Webflow
Any help would be much appreciated! Need to figure this out for work or I’m screwed!
My webflow fole file without this code above but with the code thats commented out in codepen