Giter Club home page Giter Club logo

Comments (7)

lizzie avatar lizzie commented on July 18, 2024

改了, 例子见 http://aralejs.org/switchable/examples/carousel.html#使用-carousel-实现的-slide

from switchable.

nuintun avatar nuintun commented on July 18, 2024

😄好,Thanks~

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie circular对貌似对分页滚动无效啊!看图~
qq20131022105409
按照下一页的逻辑点击分页1>2>3>4>5>1>2>3>4>5循环是正确的。
按照上一页的逻辑点击分页5>4>3>2>1>5>4>3>2>1循环就出现了和fix之前一样的错误~
点击分页切换的时候是否可以根据分页的index值来判断移动方向,当前页index-目标页index,如果大于0相当于下一页的移动方向,否则相当于上一页的效果,是0则不移动。

from switchable.

lizzie avatar lizzie commented on July 18, 2024

@newtonniu 上一页的逻辑没问题啊. 都是往前切换. 你是不是看了没 fix 的版本?

分页切换, 我还是觉得按照现在的逻辑比较好.

你再看看?

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie 上一页没问题,用分页切换的时候有点问题,可以参考bxslider的方式~
你直接用分页切换1>55>1赶脚蛮怪异~,不过也不是大问题 😄

from switchable.

lizzie avatar lizzie commented on July 18, 2024

@newtonniu 好吧, 再一次提交了. 你看下最终的版本.

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie 已经好了~ Perfect😄

from switchable.

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.