I\'ve been trying to figure this out over several questions here on SO, finding out the different parts and then assembling them, but now I\'m giving up.
What I\'m tryin
If you're using Paul Irish's Infinite Scroll, you can just specify a binder as one of the arguments where you have implemented infinite scroll, just like this:
$('.mydiv').infinitescroll({
binder: $(".name-of-div")
The binder is set to the document window by default, but if you specify it, you can have infinite scroll running simply inside one div on your page