Giter VIP home page Giter VIP logo

Comments (3)

davidghi avatar davidghi commented on August 22, 2024

What do you mean by loop? That option enables the slider to scroll in an infinite loop as opposed to having a left or right edge.

Regarding the thumbnailWidth, try to remove the quotes from the numbers because those values need to be numbers, not strings.

Cheers.

from slider-pro.

soniktrooth avatar soniktrooth commented on August 22, 2024

I will try with integers, thanks for the tip.

Re: loop
Despite setting 'loop: false' my slideshow is scrolling in an infinite loop. I have 4 slides in my slideshow but as per #28 I have room for more than 4 thumbnails in the thumbnail section and it shows me 6 thumbs—the last two of which are duplicates of the first two. When navigating left/right, the slide show loops infinitely. My understanding was that setting 'loop: false' would limit the slide show to just the 4 slides and trying to navigate paste the first or last would be impossible.

from slider-pro.

davidghi avatar davidghi commented on August 22, 2024

Setting loop to false determines the behavior you see in Example 5 where you can't scroll to the 'previous' slide if you're already on the first slide and you can't scroll to the 'next' slide if you're already on the last slide in the slider.

from slider-pro.

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.