Please help me – here : http://codepen.io/MortenAndersen/collab/cBfIs
I’m slideTooggle some div but I can´t close the open div again?
If I click nr. 1 I would like to close it again if I click it again
I think you may have hit the wrong Codepen ‘mode’ there.
I’m not seeing any CSS or JS….
$(‘.arter-all > div’).hide();
is causing your div#xx- to hide before it is toggled; therefore, when it is toggled it is only toggled on.
Remove that line so that toggle can work the way you want it to.
If I remove that line all the div would be open at once …there must be only one at a time open
Cool …this is working …. thanks :-)
You must be logged in to reply to this topic.