Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20825

    hi i like to have the accordion slider stop after showing every picture one time.

    is ths possible?

    regards

    thomas

    #109185

    to be more precise – i have the autorotation active but i like to stop it after one cycle.

    thanks

    #109186

    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

    #109187

    thanks devin, looking forward to read from either one of you.

    #109188

    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

    #109189

    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

    thomas

    #109190

    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

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘disable endless repeat of accordion slider’ is closed to new replies.