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?
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)
, , , , .