Flexslider add arrows

Discussion in 'jQuery' started by lew1s666, Sep 1, 2014.

  1. #1
    Hi,

    I am using Flexslider gallery which is together with the theme. I would like to add arrows - next and prev function. What to add? I can't see this in jquery.flexslider.js.


    http://projects.qbf.ie/broe/property-view/66-cherrywood-grove-clondalkin-dublin-22/
     
    lew1s666, Sep 1, 2014 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #2
    I wasn't able to test this for you but after reading the docs here: http://www.woothemes.com/flexslider/ you need to change the directionNav: false to true.
    
    $(window).load(function(){
      $('.flexslider').flexslider({
        //animation: "slide",
        controlNav: "thumbnails",
        directionNav: true,
        slideshow: false,
        start: function(slider){
         $('body').removeClass('loading');
        }
      });
    });
    
    Code (markup):
     
    HuggyStudios, Sep 1, 2014 IP
  3. lew1s666

    lew1s666 Member

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #3
    there is no such option. see the code: http://codepen.io/lew1s/pen/IshiD
     
    lew1s666, Sep 1, 2014 IP
  4. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #4
    Right...
    [​IMG]
    Keep up the good work mate.
     
    HuggyStudios, Sep 1, 2014 IP
  5. lew1s666

    lew1s666 Member

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #5
    thanks man. was looking in js file. this script was in footer. working ! thanks!
     
    lew1s666, Sep 1, 2014 IP