分享一个可以自定义手机触屏滑动事件的方法,注意jQuery版本。
淘建站为您提供更多_其它特效_jQuery插件_滑动_触屏,在此特别感谢您对我们的支持与厚爱!
演示不了,点击反馈
下载 118 次
2 积分
<div class="swip_arrow" id="swip_arrow"></div>.swip_arrow{
background: url("images/arrow_top.gif") no-repeat scroll 0 0; height: 3rem; width:5rem;position: fixed;left:46%;bottom:0
}<script type="text/javascript" src="jquery.touchSwipe.min.js"></script>$("#swip_arrow").swipe({
swipeStatus: function(event, phase, direction, distance, duration, fingerCount) {
location.href = 'http://www.sucaiq.com';
}
});

