CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
open at the time
Hi I’m having trouble trying to .slideToggle() a and close it when another one is toggled. Here’s the demo: http://www.antibiotics-band.ch/site/band.html
Only one bio should be open at the time. When an other one is clicked, it should disappear.
Thank you very much for your help!
I’ve setup a simple demo of how you can accomplish this without using a plugin, it uses some very basic jQuery that performs two checks.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed