hi i like to have the accordion slider stop after showing every picture one time.
is ths possible?
regards
thomas
disable endless repeat of accordion slider
7 posts from 3 voices-
Posted 2 months ago #
-
to be more precise - i have the autorotation active but i like to stop it after one cycle.
thanksPosted 2 months ago # -
Hi Thomas,
I'm not sure if it can be set to stop after a single cycle or not. I've tagged another of the support crew who should be able to give a definite answer one way or another.
Regards,
Devin
Posted 2 months ago # -
thanks devin, looking forward to read from either one of you.
Posted 2 months ago # -
Hi,
This is a bit of a hacky solution but it will work without an error.
Please open up /js/aviacordion-dev.js and find lines 303-306 that look like
data.slides.filter(':eq('+(index - 1)+')').trigger("mouseleave."+ pluginNameSpace); index = 0; firstrun = true; current.trigger("mouseleave."+ pluginNameSpace);and add two slashes in front of each of those lines so that it will look like this:
//data.slides.filter(':eq('+(index - 1)+')').trigger("mouseleave."+ pluginNameSpace); //index = 0; //firstrun = true; //current.trigger("mouseleave."+ pluginNameSpace);That's it. I tested it and works fine. On the last slide it pauses.
Thanks,
Nick
Posted 2 months ago # -
hey nick,,
i need one step more - at the end every picture should have the same space, so everything looks like before the autorotation has started.
i achieved this by playing around with the slashes and the simple solution is that you only need to put 2 of them infront of line 304 which is responsible for the index.many thanks
thomasPosted 2 months ago # -
Glad Nick could help and you were able to tweak it to your needs :)
Let us know if you have any other questions or issues.
Regards,
Devin
Posted 2 months ago #
Topic Closed
This topic has been closed to new replies.














