There is a simple solution to this, I however have not been able to execute it correctly.
I have a top level navigation (that is dynamically populated) that when clicked reveals a hidden panel. This works. The problem is when another menu item is clicked, that panel is stacked on any panels that are already open. How do I close any open panels first before opening another one.
Below is my code:
You can see the (barely there) work in progress here http://www.jessicabo.com/max01/
Any help is greatly appreciated