Howdy Barry.
I’ve been playing around with an integration of your jquery pagination plugin at http://swanzai.net/newspiri — in a PHP gallery that’s reading a directory of images and auto-generating thumbnails (to be cached) for lightbox usage.
I was trying to hack the functionality to start the next page loading when the viewer was halfway through the current page. Essentially adding a 800px ‘buffer’ to get the images loading before the user necessarily gets there.
I played around with the $(this).scrollTop() == $(document).height() – $(this).height() line but couldn’t get it to load before the user reaches the bottom of the page — any hints?
Thanks for the wonderful plugin — best wishes.