cancel
Showing results for 
Search instead for 
Did you mean: 

Infinite Scrolling help

Could one of you kind souls pls refer me to a tutorial that shows you you how to implement infinite scrolling for a page? I've managed to get my code working on my desktop but doesn't work on my mobile device. Are there any jquery frameworks that are mobile friendly that could do this?

 
BrooksElliot
Member
1 REPLY 1

@BrooksElliot wrote:

Could one of you kind souls pls refer me to a tutorial that shows you you how to implement infinite scrolling for a page? I've managed to get my code working on my desktop but doesn't work on my mobile device. Are there any jquery frameworks that are mobile friendly that could do this?

 

Create a variable for the height of the entire document as well as a variable to determine your scroll position. Inside the scroll event, create 2 variables. We’re going to call them scrollHeight and scrollPos.

Henry7
Member