jquery stop image slider when accordian menu is closed

Posted by Nik on Stack Overflow See other posts from Stack Overflow or by Nik
Published on 2010-05-01T18:24:23Z Indexed on 2010/05/01 18:27 UTC
Read the original article Hit count: 391

http://jsbin.com/emoba5/3/edit click here to view demo

This accordion menu/image slider works well except -

When the page loads and when all accordion menu items are closed I need it to show a single image on right. At the moment the page loads a blank picture area and when an accordion menu item is closed it just restarts that menu items picture slider. (So on page load and when all accordions are closed I need it default to an image on the right.)

Some of the items only have 1 picture i.e. posture 3 you will notice when you click on it, it shows the image and then goes blank, can it just fade the image in and leave it there if there is only 1 image?

Thanks to aSeptik for his help so far, feel free to make a revision of the posted code.

Thanks guys Nik

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-accordian