Fixed size of Flexslider

前端 未结 5 2123
误落风尘
误落风尘 2021-02-04 03:40

I\'m using Flexslider to pull product images of varying sizes from an API. I\'ve been throwing them into Flexslider\'s

    , but these varying image sizes don
5条回答
  •  故里飘歌
    2021-02-04 03:54

    Remove

    smoothHeight: true,
    

    from

     jQuery('#slider').flexslider({
                animation: "slide",
                controlNav: false,
                animationLoop: false,
                prevText: "",           
                        nextText: "",
                slideshow: false,
                        smoothHeight: true,
                        animateHeight: false,
                sync: "#carousel",
                start: function(){
                     jQuery('#slider ul.slides img').show(); 
                },
              });
    

提交回复
热议问题