Giter Club home page Giter Club logo

Comments (4)

ProLoser avatar ProLoser commented on May 27, 2024

In the function base.gotoPage (on line 354) go to line 365
if (page > base.pages + 1) { page = base.pages; }
and change it from page = base.pages; to page = base.pages + 2; or + however many slides you want. I think that'll do the trick

from anythingslider.

amirweg avatar amirweg commented on May 27, 2024

I tried the change recommended by ProLoser but it seems to have no effect (I did not see the effect desired or any other effect).

from anythingslider.

Mottie avatar Mottie commented on May 27, 2024

Hi Amirweg!

In the latest version, if you add the following after line 419 (after the base.$el.trigger) it should work as you want. But because the slideshow is active, the time to slide twice is also included in the time (i.e. the 3rd slide won't show as long as the other slides). Change the gotoPage(3... to the desired slide.

if (base.playing && page == 1) { setTimeout(function(){ base.gotoPage(3, true); }, 0); }

The setTimeout is used to ensure the animation has completed (see this bug report: http://bugs.jquery.com/ticket/7157)

from anythingslider.

Mottie avatar Mottie commented on May 27, 2024

Closing this ticket... I'm guessing it's been resolved.

from anythingslider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.