最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

jquery - Javascript Gallery sliders that can be touchswiped on mobile AND clicked and dragged on desktop? - Stack Overflow

matteradmin4PV0评论

I'm looking for a Javascript/jQuery gallery slider plugin which works by touch/swiping left right on mobile devices AND by clicking and dragging on desktop/laptops.

Most I've seen can do swipe on mobile but aren't "draggable" on desktop/laptop. You have to click between images. Examples of that: / /

I'm looking for a Javascript/jQuery gallery slider plugin which works by touch/swiping left right on mobile devices AND by clicking and dragging on desktop/laptops.

Most I've seen can do swipe on mobile but aren't "draggable" on desktop/laptop. You have to click between images. Examples of that: http://galleria.io/ http://swipejs./

Share Improve this question edited Oct 14, 2012 at 13:17 tim peterson asked Oct 14, 2012 at 13:11 tim petersontim peterson 24.4k63 gold badges185 silver badges303 bronze badges 2
  • Actually swipejs is kinda weird because it says it's IE7+ patible but I don't think it's even desktop patible. – Tiborg Commented Oct 12, 2013 at 9:10
  • swipejs works pretty well on Mac chrome but you could be right, haven't tested browsers extensively – tim peterson Commented Oct 12, 2013 at 11:33
Add a ment  | 

2 Answers 2

Reset to default 6

http://www.idangero.us/sliders/swiper/

I like the transitions effects!

After googling for a bit I answered my own question. Here's a good site http://www.iosscripts./iosslider/. The swiping/clicking works great on both my Mac laptop with 10.7.4 and on my iPhone 4 with iOS4.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far