C3+H5+jQuery仿探探APP手机滑动切换特效
这是一款很不错的jQuery仿探探APP手机滑动切换特效,手机端网页滑动翻页上一页下一页切换代码
/*移动动画*/
animateMove:function (el,val) {
if(!this.run){
return;
}
this.run=false;
/*CSS3动画方式*/
el.css({"transform":"translate3d("+doc_width*val+"px,"+photoSwipe.top_val*2.2+"px,0px)","transition-duration":"0.3s"});
var moveTime=setTimeout(function () {
el.remove();
var ind_el=$("#ind-"+(photoSwipe.index));
photoSwipe.activeEl(ind_el);
photoSwipe.index++;
$("#photo_box>div>div").append(photoSwipe.imgHtml());
photoSwipe.run=true;
},300);
},
申明:php中文网下载站匠心打造专业的IT资源下载站!一切资源免费,来源网络收集,请自行检测软件的完整性。交流QQ群:916808767