1
У меня есть две страницы: index.html и right.html.Перейти к странице на основе swipe
Какой код необходим, чтобы перейти вправо.html из index.html, проверив экран горизонтально?
Я использую 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?
}
});
возможно дубликат [Как провести несколько нескольких мобильных страниц jquery?] (Http://stackoverflow.com/questions/7533772/how-to-swipe-between-several-jquery-mobile-pages) – Emre