Streaming live at 10am (PST)

Closing DIVS when another is open


#1

If you look at the site, I have multiple options depending on what the “Client” would want to know about the product. I have set these all to click interactions that open and close. How would I go about automatically closing an open tab when another is clicked?

Thanks


Here is my public share link: https://preview.webflow.com/preview/jackinabox?preview=5673baa3a74237a677298352799bfeea


#2

Hey man,

I would suggest looking at tabs as an easier solution.

If you wanted to go about the way you’re currently doing it, you could add additional click functions to each ‘button’ that would set display:none on all the possibly open divs. Hope this makes sense, let me know if that works for you.