jquery - slideToggle on multiple divs that aren't near the clickable element -


here's have far: http://jsfiddle.net/xhulz/

the next step, i'm unsure how to, have when div open , element has separate div clicked, opens , closes opened div. (it's late, hope makes sense!)

i've seen plenty of examples close i'm trying achieve, hidden div right next element clicked (to show/hide) , doesn't affect open divs.

are looking : http://jsfiddle.net/xhulz/1/

it's pretty easy actually, have slideup() visible subnav-panel:

$('.subnav-panel:visible').slideup(); 

Comments