Slidetoggle Box one at a time

I use this piece of jsfiddle code ( http://jsfiddle.net/ErickPetru/65wSn/1/ ), which was published by me in a previous question here: Slidetoggle with a close button - jQuery

My question is, how can I configure jquery to display only one window at a time?

+3
source share
2 answers

Do you like this solution? JSFiddle DEMO

EDIT:

take off! we forgot to add: if the popup is open, do not launch any click functions! Because it is annoiyng !;)

here is the new JSFiddle DEMO ! (sorry for not fixing this in v0.01; D)

+2
source

, , , , .

0

All Articles