Flexslider
  • height's equal the tallest
  • on a mobile browser
  • 前端 未结 5 970
    青春惊慌失措
    青春惊慌失措 2020-12-21 10:57

    I am trying to figure out an issue with Flexslider that only appears when I test it on an mobile browser such as Safari Mobile.

    All of the

  • containers are the
  • 5条回答
    •  不知归路
      2020-12-21 11:11

      Add this to the script that calls the slider.

      animateHeight: false,
      

      eg.:

      $(window).load(function(){ if ( $('#content-slider-wrap').length == 0 ) return false
          $('#content-slider-wrap').flexslider({
              animation:"fade",
              slideshow: true,
              directionNav: true,
              animateHeight: false,
              controlNav:false ,
      ........... etc etc
      

    提交回复
    热议问题