Load More Button not functioning

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #12777

    caraschrock
    Participant

    Hello! I just purchased the Pro and turned on the Load More button for one of my galleries. The button displays as expected but nothing happens when selected on the front end.

    You can view it for the Published and Press Gallery here: http://caraschrock.com/portfolio/

    I thought maybe it was because I had 2 galleries on one page so I created a test page only containing the gallery with the Load More button and it still doesn’t function there either: http://caraschrock.com/published-and-press/

    #12781

    Hello @caraschrock

    Problem is connected with your theme. In scripts of your theme occurs a lot of errors.
    You can check this in console of your browser – http://prntscr.com/eequhb
    Due to these errors, “load more” function of gallery plugin not working.

    Please, contact your theme developers, they should fix this problem.

    #12790

    caraschrock
    Participant

    Hello –

    I spoke with my theme folks and a developer friend and the error shown only happens when the Gallery Pro plug in is activated so the error seems to be on your end. The instafeed error referenced in the screen grab of the debugger has since been resolved and was unrelated, I’m still receiving only this error only when the Gallery plugin is activated

    Uncaught TypeError: Cannot read property ‘top’ of undefined
    at HTMLAnchorElement.<anonymous> (scripts.js:50)
    at HTMLAnchorElement.dispatch (jquery.js?ver=1.11.3:4)
    at HTMLAnchorElement.r.handle (jquery.js?ver=1.11.3:4)

    Line 50 that is referenced is:

    Line 50 – ‘scrollTop’: $target.offset().top

    // Smooth scrolling and back to top
    $(‘a[href^=”#”]’).bind(‘click.smoothscroll’,function (e) {
    e.preventDefault();

    var target = this.hash,
    $target = $(target);

    $(‘html, body’).stop().animate({
    ‘scrollTop’: $target.offset().top
    }, 900, ‘swing’, function () {
    window.location.hash = target;
    });
    });
    //Check to see if the window is top if not then display button
    $(window).scroll(function(){
    if ($(this).scrollTop() > 100) {
    $(‘.back-top’).fadeIn();
    } else {
    $(‘.back-top’).fadeOut();
    }
    });
    //Click event to scroll to top
    $(‘.back-top’).click(function(){
    $(‘html, body’).animate({scrollTop : 0},800);
    return false;
    });

    }); // END

    #12791

    caraschrock
    Participant

    Also, if I have “Load with scroll” set to “yes” that works okay, but I don’t want it to load with scroll. The problem is specifically with the Load More Button when enabled but “load with scroll” = no.

    #12843

    Hi @caraschrock

    Now the Load More Button is working on your site. Please, check it.
    In the case you have some questions, don’t hesitate to ask us.

    #23780

    ca2wjcxr
    Participant

    https://supsystic.com/reply/23780/edit/

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Thanks so much! Please Enter Your Info Below To Get PRO Discount and Gifts