Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1230

    Hi,

    I’ve not been able to find this info on the forum, neither doing it myself.

    Currentl, when we click on a thumbnail under the slider, it only selects the image. What I would like to do is when clicking on the thumbnail, go directly to the link(if any) of the slider entry.

    Do you think that could be easily done?

    Thanks for your support

    vincent

    #34492

    Ok, I got it working by modifying in custom.js, returning true instead of false on line 1515:

    (function($)
    {
    $.fn.aviaSlider_externalControlls = function(options)
    {
    var defaults =
    {
    slideControlls: 'a',
    newControlls: '.slideThumb'
    };

    var options = $.extend(defaults, options);

    return this.each(function()
    {
    var container = $(this).css('display','none'),
    controlls = $(options.slideControlls, container),
    newControlls = $(options.newControlls).css('cursor','pointer');

    newControlls.each(function(i){

    $(this).click(function()
    {
    $(controlls).trigger('click');
    return true; <-- return true instead of false here
    });
    });
    });
    }
    })(jQuery);

    #34493

    Glad that you figured it out.

    The Dude

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

The topic ‘How to link thumbnails directly to posts instead of selecting the slider image’ is closed to new replies.