页面加载空白时出现Flexslider

时间:2019-01-10 04:04:08

标签: jquery flexslider

我遇到页面加载空白问题并在flexslider上缩放图像

        $('.flexslider').flexslider({
              selector: ".slides > .slide",
              animation: "slide",
              animationLoop: @(assetCount == 1 ? "false": "true"),
              direction: "horizontal",
              keyboard: true,
              slideshow: true,
              slideshowSpeed: 9000,
              pausePlay:  @(assetCount == 1 ? "false": "true"),
              pauseText: 'Pause',
              playText: 'Play',
              pauseOnHover: false,
              controlNav: @(assetCount == 1 ? "false": "true")
          });

0 个答案:

没有答案