WAD - Use one button to switch between visible and hidden
I have the following scenario:
1) The navigation pane is hidden by default in my web template
2) The user should be allowed to swich the status to visible by clicking on a button. This has been solved with a command of type SET_ITEM_PARAMETERS.
Is it now possible to use the same button to hide the navigation pane again (when the user clicks the button again) ? How is this solved ?