Hi,
Can someone please write down how do i set up the infinite scroll or lazyload?
I've read this before but it doesn't really work. https://smartcj.com/wiki/doku.php?id=ne ... _and_so_on
Thank you!
How can I set up lazy or infinite scroll?
Re: How can I set up lazy or infinite scroll?
Hi,
I'd like to help but "doesn't work" doesn't describe an issue in details
I'd like to help but "doesn't work" doesn't describe an issue in details
Don't forget to run script update
Re: How can I set up lazy or infinite scroll?
Thank you!
I really don't know how to set it up. For example, where should I copy this? var P_BASE = '/?force_template=index_scroll_ajax&page=';
In head?
I really don't know how to set it up. For example, where should I copy this? var P_BASE = '/?force_template=index_scroll_ajax&page=';
In head?
Re: How can I set up lazy or infinite scroll?
I see, well, yes, you can use it there, depends of your templates ..
Unfortunately, in most cases JS is not something like a "copy\paste thing", those JS libs provided as-is and are not a part of the script because there's no way to control how you implement your templates.
Basically you need to understand what you do when you add it, because it's a part of you template, not a separate thing like a pop-up that can be used as "copy and paste it into <head tag".
So there are 2 ways:
1. free: you read about JS, download, add into your template and use those libs for free
2. You pay somebody to it for you
Unfortunately, in most cases JS is not something like a "copy\paste thing", those JS libs provided as-is and are not a part of the script because there's no way to control how you implement your templates.
Basically you need to understand what you do when you add it, because it's a part of you template, not a separate thing like a pop-up that can be used as "copy and paste it into <head tag".
So there are 2 ways:
1. free: you read about JS, download, add into your template and use those libs for free
2. You pay somebody to it for you
Don't forget to run script update