I'm building a website, in an attempt to save space on the mobile version I want to let users swipe horizontally through a few sections that contain multiple div
's, like on the Facebook app. However, the content that needs swiping is within a div
.
Frameworks like jQuery Mobile and JQTouch don't seem applicable because they're designed to be used as a framework.
I've tried using SwipeView, JQSwipe, as well as the jQuery mobile and jQTouch frameworks.
So, does anyone know of any stand-alone JS or jQ plugin that gives swipe functionality to div
's? One's I've found so far either seem not to work or need the content organised in a different way to what I have.
Ideally, the HTML will look something like:
<div class="swipe-wrapper">
<div class="swipe-element">content</div>
<div class="swipe-element">contnet</div>
<div class="swipe-element">content</div>
</div>
Very similar to how many sliders work I'd imagine.