Very simple question (but I have checked user materials so far) -
is there an easy way to create an element / div / section etc that horizontally ‘folds/unfolds’ on click?
I.e. say an element is three columns wide, but it’s default state is ‘folded’ so that it shows only one column on page load. When clicked, it unfolds over the content that is horizontal to it on page, to show all three columns.
So, in a three column page, a module situated page left would unfold two more columns page right, a module situated centre would unfold one column each right and left, etc.
Any thoughts? It’s a bit like a horizontal toggle function, I guess?
Thanks for tips!