Quote:
Whenever a user scrolls beyond the div with data I am populating the next div data dynamically with ajax.
Techniques exist to hide loading time most of the time.
The trick is to load all visible divs +1.
Then when user start to scroll down, there is no loading time for next div because it is already there.
And when last div become visible, start to load next div.
The time user scroll and read last div is used to load next div.