Giter Club home page Giter Club logo

Comments (3)

nicped avatar nicped commented on July 17, 2024

Hi

  • To change the slide gap, you can set the --swiffy-slider-item-gap variable - see "Css variables" section on this page: https://swiffyslider.com/docs/
  • It is not possible to show the reveal to the left for the first slide. Slides do not 'circle' around so the last slide is not before the first slide in this context. The best option is to slide to slide 2 on load so it looks like it has something on the left. - on page load do swiffyslider.slideTo(document.getElementById('myslider'), 1); But the best option is to just leave it as is - it makes it easier for a user to
  • There is an example of how to do that here: https://swiffyslider.com/examples/#infinite. I would suggest not to do it as it helps users to understand when they have seen the first and the last slide. Infinite sliding in most cases makes it confusing for the user to find out when they have seen all.

from swiffy-slider.

drenina avatar drenina commented on July 17, 2024

@nicped thank you. But what about the bug on mobile? Even the demos aren't displayed correctly and buggy.

from swiffy-slider.

nicped avatar nicped commented on July 17, 2024

Well, the documentation states that Swiffy Slider is for modern browsers. Fennec is to the best of my knowledge deprecated. Swiffy slider do use browser based scrolling and other tricks that is mainly supported on browsers made in the past 3 years.
Firefox for Android works just fine.
If you need to support old browsers, Swiffy Slider is not for you.

from swiffy-slider.

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.