Why would you need pagination links on infinite scroll. Either paginate normally or use infinite scroll choose one or the other.
See https://discourse.cakephp.org
No pagination links there.
I followed this tutorial for implementing infinte scroll:
https://laraget.com/blog/implementing-infinite-scroll-pagination-using-laravel-and-jscroll
It works however the pagination links do not get hidden in time.
the code used in the script is $('ul.pagination').hide();
If I scroll down I can see them and they disappear after 1 or 2 seconds. Obviously this is ugly. Any clue?
I tried to use var x = document.getElementsByClassName("ul.pagination"); and set the style to display.none but I get an error .. x is undefined (while it is very defined).
Please or to participate in this conversation.