文章分类 -  swiper

摘要:问题是这样的: 当你兴高采烈的写完一个tab,并且把swiper嵌入到每一个tab item 觉得大功告成的时候,你会发现,永远只有第一个tab上的swiper生效了,其余的不管你怎么切换,swiper总是初始化失败,是的,就是不能愉快的滚动了~ 方法一、官网给出的解决方案是,使用observer: 阅读全文
posted @ 2018-08-03 10:17 Shimily 阅读(2738) 评论(1) 推荐(0) 编辑
摘要:Swiper2 支持ie8 api地址:http://2.swiper.com.cn/api/index.html 基本框架: 下载地址:http://2.swiper.com.cn/download/index.html Swiper3 高版本浏览器和手机端 api地址:http://www.sw 阅读全文
posted @ 2017-05-08 21:52 Shimily 阅读(104) 评论(0) 推荐(0) 编辑
摘要:http://touch.code.baidu.com/ http://touch.code.baidu.com/examples.html 下载:http://touch.code.baidu.com/touch-0.2.14.min.js 说明文档:http://cloudajs.org/doc 阅读全文
posted @ 2015-04-28 21:29 Shimily 阅读(588) 评论(0) 推荐(0) 编辑
摘要:document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);//阻止默认行为document.addEventListener('touchmove', function (e) { e.pr... 阅读全文
posted @ 2015-02-06 09:34 Shimily 阅读(2863) 评论(0) 推荐(0) 编辑
摘要:最近使用Swipe.js,发现中文的资料很少,试着翻译了一下。能力有限,翻译难免错漏,欢迎指出,多谢!翻译自:http://www.idangero.us/sliders/swiper/api.phphttp://www.idangero.us/sliders/swiper/index.php一了解... 阅读全文
posted @ 2014-10-31 09:58 Shimily 阅读(616) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。
posted @ 2014-07-17 09:18 Shimily 阅读(57) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示