How can I programatically close a Content Pane when the user presses a button?
For example in this map, how could I close the rightPane div, and have the map expand to fill the vacant space (ie, hide the Table of Contents)?
ESRI are doing it on the My Map viewer so it must be possible. The X in the top-right of the Details panel contains this markup:
How can I find out what that button is doing, and would that help?