flexslider.js和waypoints.js一起用时的巨坑
2016-05-11 15:03
141 查看
Flexslider has a callback API where you can execute functions after various actions:https://github.com/woothemes/FlexSlider/wiki/FlexSlider-Properties
I would check out the after callback and possibly the start callback and call refresh from there. For example:
$('#secondSlider').flexslider({
animation: "slide",
directionNav: false,
controlNav: false,
start: function() {
$.waypoints('refresh');
}
});
$.waypoints('refresh');必须加
I would check out the after callback and possibly the start callback and call refresh from there. For example:
$('#secondSlider').flexslider({
animation: "slide",
directionNav: false,
controlNav: false,
start: function() {
$.waypoints('refresh');
}
});
$.waypoints('refresh');必须加
相关文章推荐
- Three.js无法显示三维外部文件问题解决方案
- jstl中的format标签
- 客户端的全局变量Cookie,JS设置、读取、删除cookie操作
- JavaScript复习第二天js小特效练习
- ajax中post和get
- $.getJson跨域取数据
- jsp页面中实现目录树的功能
- js 获取url参数
- Javascript面向对象编程(二):构造函数的继承
- NSJSONSerialization使用——json格式字符串与dict字典的相互转换
- Javascript面向对象编程(三)
- 15分钟帮你轻松理解 JS闭包
- js截取中文
- 今天在使用JavaScript的eval时,出现了IE8的兼容性问题
- JavaScript中JSON与String的相互转换
- JS调用WebService
- javascript 反序列化json字符串
- js上传图片进行预览、验证格式及尺寸
- JS 整型,浮点型转化为字符型
- Js 冒泡事件阻止