I'm using this piece of code on jsfiddle ( http://jsfiddle.net/ErickPetru/65wSn/1/) which was posted in a previous question by me here: Slidetoggle with a close button - jQuery
My question is how can i adjust the jquery so that only one box is shown at one time?
Do you like this solution? JSFiddle DEMO
EDIT:
ups! we forgot to add: IF a popup is opened do not trigger any click functions! 'cause it's annoiyng! ;)
here is the new JSFiddle DEMO! (sorry for not fixing this in v0.01 ;D )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With