Horizontal swipe slider with jQuery and touch devices support?

前端 未结 15 2214
野趣味
野趣味 2020-12-22 19:04

I need to make a product slider like this ( see red area ) swipe slider with momentum.

It should work on Desktop, iPad and Mobile browser. Do you know any jquery/jq

相关标签:
15条回答
  • 2020-12-22 20:08

    I found this, hope it helps http://www.zackgrossbart.com/hackito/touchslider/

    0 讨论(0)
  • 2020-12-22 20:08

    With my experiance the best open source option will be UIKIT with its uikit slider component. and it is very easy to implement for example in your case you could do something like this.

    <div data-uk-slider>
    <div class="uk-slider-container">
        <ul class="uk-slider uk-grid-width-medium-1-4"> // width of the elements
            <li>...</li> //slide elements
            ...
        </ul>
    </div>
    

    0 讨论(0)
  • 2020-12-22 20:09

    I would also recommend http://cubiq.org/iscroll-4

    BUT if you're not digging on that try this plugin

    http://www.zackgrossbart.com/hackito/touchslider/

    it works very well and defaults to a horizontal slide bar on desktop -- it's not as elegant on desktop as iscroll-4 is, but it works very well on touch devices

    GOOD LUCK!

    0 讨论(0)
提交回复
热议问题