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

上一篇:C#列表顺序替换思想


下一篇:LESS速查