- This topic has 5 replies, 1 voice, and was last updated 5 months, 3 weeks ago by
ca2wjcxr.
- AuthorPosts
- March 1, 2017 at 07:32 #12777
caraschrockParticipantHello! 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/
March 1, 2017 at 21:08 #12781
mila_supportMemberHello @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.
March 3, 2017 at 06:06 #12790
caraschrockParticipantHello –
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
March 3, 2017 at 06:50 #12791
caraschrockParticipantAlso, 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.
March 6, 2017 at 16:33 #12843
mila_supportMemberHi @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.September 30, 2022 at 01:59 #23780
ca2wjcxrParticipanthttps://supsystic.com/reply/23780/edit/
- AuthorPosts
- You must be logged in to reply to this topic.