Forums

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

Home Forums JavaScript jQuery Accordion Widget opening temporarily on page load Re: jQuery Accordion Widget opening temporarily on page load

#77455
nickharambee
Member

Thanks Rob

That did the trick. I wonder if you also have an idea as to what is happening with sections 2 and 3, i.e. these sections slide down but then ‘jump’ at the end. This doesn’t happen with the first section that contains an image.

My final question is whether there is a way of setting the speed of the slider to be a function of the height of the content, meaning that the actual speed of the effect will be the same, but it will take longer on slides with greater content/height. I am aware that I can set different speeds for the different sections in the widget.js, but as the content of the slides will be changing from time to time it would be good to not have to manually change the speed in order to keep a uniform speed across the accordion.

Nick