Use this jQuery code to initiate an Ajax call when a page scrolls past a specific element:
$("body").bind("scroll touchstart touchend",function(){
if($("body").scrollTop()>=$("#something").offset().top){
alert("Put an Ajax call here...");
}
});
#something jQuery , .
Ad @