Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Simple swiper for jQuery Mobile

What is it

A lightweight jQuery Mobile Plug-in that loads a new page when you swipe right or left. How to use

Put jquery.mobile.swiper.js into your jQuery Mobile application like you would do with any other plugin.
You can then add data-swipeleft and data-swipright attributes to you're data-role="page".

<div data-role="page" data-swipeleft="page1.html" data-swiperight="page2.html">
    Swipe left to page1
    Swipe right to page2
</div>

This plugin is applied, when data-role="page" has an data-swipeleft or data-swipright attribute.
Take a look at the examples, it is really easy.

About

jQuery mobile plugin: Load a new url when swiping left/right

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages