I have two pages: index.html and right.html.
What kind of a code is required, to go to right.html from index.html by swiping the screen horizontally?
I am using jQuery Mobile
$(function()
{
$(document).on( "swipeleft", swipeleftHandler );
function swipeleftHandler( event )
{
// What is the code that should come here?
// And how can I design it so index.html slides to left
// and right.html comes to the middle?
}
});