IN FLEX SLIDER prevoius和下一步按钮删除浏览器后退图标单击滑块上一张幻灯片

时间:2019-04-03 09:56:51

标签: php

  $a =jQuery('.flexslider');
  $a.flexslider({
    slideshow: false,
    animationLoop: false,
    animation: "slide",
    smoothHeight: true,
    touch:true,
    controlNav: false,
    directionNav:false,
    start: function(slider){
     jQuery('.slides li .gift1 a', slider).click(function(event){
       event.preventDefault();
       slider.flexAnimate(slider.getTarget("next"));
       localStorage.setItem('sliderPagination','slider2');
     });
   },


 });   

0 个答案:

没有答案