Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slidetoggle Box one at a time

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?

like image 368
Carpy Avatar asked Jan 29 '26 00:01

Carpy


1 Answers

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 )

like image 99
Roko C. Buljan Avatar answered Jan 30 '26 12:01

Roko C. Buljan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!