Here’s what I have so far: http://jsfiddle.net/xhuLZ/
The next step, which I’m unsure how to get to, is to have it so that when a div is open and another element that has a separate div is clicked, opens and closes the already opened div. (It’s late, so I hope that makes sense!)
I’ve seen plenty of examples that are close to what I’m trying to achieve, but with the hidden div right next to the element that is to be clicked (to show/hide) and that doesn’t affect already open divs.
Are you looking for something like this : http://jsfiddle.net/xhuLZ/1/
It’s pretty easy actually, you just have to slideUp() all the visible subnav-panel: