Home › Forums › JavaScript › jQuery Accordion: Shrink inactive items? › Re: jQuery Accordion: Shrink inactive items?
July 8, 2010 at 3:12 pm
#79400
Capt Otis
Member
Well your #accordion isn’t big enough to support all the items when 1 is expanded. Which is why one is moved to below the others. Try increasing the width of the div around it, and everything should work out.
Also, use $(document).ready() when you use jquery to initialize it correctly.