Hi,
my boonex site has 3 columns created with the admin page editor. I would like to add a small button on the left and right columns, so when clicked it hides/shows the column to give more space to the central column.
I've seen the 3 columns are already enclosed inside a "div" tag (example: DIV#page_block_314) , so via javascript should be possible to hide the column with something like:
<script>page_block_314.style.display='none';</script>
The problem is the central column has a width=50% tag, which is probably added by the page editor itself and so even with the two other columns hidden, it stays at the former size.
Did any of you create something like this or do you have a suggestion/example how to do it?
Thanks,
Luca.