我是靠谱客的博主 安静夏天,这篇文章主要介绍flexslider.js和waypoints.js一起用时的巨坑,现在分享给大家,希望可以做个参考。

 

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');必须加

最后

以上就是安静夏天最近收集整理的关于flexslider.js和waypoints.js一起用时的巨坑的全部内容,更多相关flexslider.js和waypoints.js一起用时内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(120)

评论列表共有 0 条评论

立即
投稿
返回
顶部