2017年10月17日
摘要: 将自动轮播与按钮结合起来,就是多写了好几行,挺好看的不过,留下 z=1; l.eq(0).css("background-color","orange"); function move(){ if(z!=3){ bo.stop(); bo.animate({marginLeft:z*(-680)+" 阅读全文
posted @ 2017-10-17 20:06 段了的弦 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 图片轮播与点击事件结合起来,挺麻烦的,应该还有更简单的方法,但这比之前写的好多了 c=1; x=1; prev.click(function(){ if(c!=3){ da1.stop(); da1.animate({marginLeft:c*(-1100)+"px"}, 500, function 阅读全文
posted @ 2017-10-17 20:04 段了的弦 阅读(952) 评论(0) 推荐(0) 编辑