经常打开一个移动软件,会有几个左右滑动的图片来显示软件的介绍,今天我们用 Jquery Mobile 自带的changePage 实现这个功能 下面是实现的核心代码 $(function() { $('#onePage').bind("swipeleft",function(){ $.mobile.changePage('second.html',{ transition: "slide"}); }); });
Jquery Mobile swipe 效果,Jquery Mobile 图片 swipe 效果 下载
|
Archiver|手机版|小黑屋|
PhoneGap中文网
( 京ICP备13027796号-1 )
GMT+8, 2022-8-15 21:35 , Processed in 0.133210 second(s), 23 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.