<em>@erickpaulino 425181 wrote:</em><blockquote>Hello,
How can I replace the infinite scroll button with an automatic infinite scroll on JA Magz? I would be happy if I could have this working at least on the home screen.
Thank you!</blockquote>
For this please go to the templatesja_magzjs/script.js
find and remove this code
//we remove autoload
$(window).unbind('.infscr');
if(nextbtn.length){
nextbtn.find('.inf-button').on('click', function(){
if(nextbtn.hasClass('active')){
return false;
}
if(!nextbtn.hasClass('finished')){
nextbtn.addClass('active');
infinity.infinitescroll('retrieve');
}
return false;
});
}
it will add the infinite auto scroll .
Please take a backup of your site before doing any custom changes .
Let me know if it helps 🙂