Streaming live at 10am (PST)

DIV Toggle hide and show


#1

Hi.
What would be the preferred method to create a toggle. I would like to have several text headings that show further content so I can compact some of my secondary navigation.
hope that makes sense. Basically i need to be able to have some content that can be toggled by clicking a text link, that content may also contain links.
Thanks !


#2

http://jqbox.webflow.com/#hide-and-show

You're welcome. Donate on PayPal if you like my work smile info at my profile stuck_out_tongue


#3

Thanks for that, I am trying now. Is there a way for the page to remember the toggle state on reload?


#4

You could try with cookies. You can set a cookie for open and on load check if it's in browser cache and open or close the toggled box.


#5

That's awesome @bartekkustra, thanks!


#6