I have a list of search results in a element with a static height and overflow: auto; in the style. I would like to load only the first
element with a static height and overflow: auto; in the style. I would like to load only the first
overflow: auto;
If you compare the div's .top() + .height() to the window's .scrollTop + .height then you could tell when you're at the bottom of that div, and then trigger the next content load...
.top() + .height()
.scrollTop + .height