I’m working on this horizontal scrollbar that grabs content from the database when you scroll to the farthest right. Here's an example of what we want to do: http://designarchives.aiga.org/#/entries/%2Bcollections%3A%2250%20Books%2F50%20Covers%20of%202009%22/_/grid/relevance/asc/0/48/120
I found useful tutorial here but its vertical scroll: http://www.9lessons.info/2009/07/load-data-while-scroll-with-jquery-php.html
So far it is working vertically, but how do you load data while scrolling horizontally and on a DIV overflow, not the window?