我正在使用包含三个 html 页面的 jquery Mobile 开发一个 phonegap android 应用程序。我想在从一页导航到另一页的过程中包含过渡。 对于我使用过的页面之间的导航
window.location = "abc.html";
每个页面都包含一些在页面初始化时加载的动态数据。 我试过 data-transition="slide"。但是没有任何效果。 如何在我的应用程序中包含用于页面导航的幻灯片过渡?
最佳答案
$.mobile.changePage('abc.html', { transition : 'slide'});
关于android - phonegap android 应用程序页面导航期间的转换,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19116597/