【发布时间】:2011-02-24 22:32:47
【问题描述】:
如何更改下面的代码以滑动到下一页/“to:url”而无需为每次页面更改编写脚本?
<script type="text/javascript">
$('div').live("swipeleft", function(){
$.mobile.changePage("#pg02", "slide", false, true);
});
$('div').live("swiperight", function(){
$.mobile.changePage("#pg01", "slide", true, true);
});
</script>
【问题讨论】:
标签: java jquery android jquery-mobile