Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #169349

    Hi,
    I use the avia slider full width with 3 different images, auto rotating.
    When one clicks on the small image on the side, it bring it in the large image. then one has to click again, this time on the large image to go where one wants.

    I would like that the click on the small image brings the person directly to the link of the image , is it possible ? how could I do that ?
    Thanks for your support.

    #169802

    Hi anniet!

    Open up /wp-content/themes/abundance/js/aviaslider-dev.js and replace

    
    var index = elements_new.index(this);
    

    with

    
    var index = elements_new.index(this);
    var url = $('.slideshow li a').filter(':eq('+index+')').attr('href');
    if(url != '') window.location = url;
    

    Best regards,
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘abundance slider with direct link’ is closed to new replies.