Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript .slideToggle() only one

open at the time Re: .slideToggle() only one

open at the time

#132422
SgtLegend
Member

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.

http://codepen.io/ChrisUpjohn/pen/42f48677ba5a5b45ded13b986ddfd8fd