Accordion slider – open an image by default
Question:
Is it possible to make the accordion slider open the an image by default when it is initially loaded?
Original poster
Solution:
You have to open the script/accordion-slider.js file and add the following line:
holders[0].obj.find('img').trigger('mouseover');after line 51:
setEventHandlers();The 0 value sets the index of the slide image to be opened by default – in this case it will open the first image. To set the third image, for example, you have to set index 2.
Pexeto