当我们完成演示时,我需要删除分页器http://www.infinite-scroll.com/trigger.html
// remove the paginator when we're done.
$(document).ajaxError(function(e,xhr,opt){
if (xhr.status == 404) $('a#next').remove();
});
但是这段代码不起作用。我在演示中提到过无限滚动的版本是 1.5.100504 但我在这里下载的最新版本是 2.0b2.110713 那么,有什么帮助吗?
也许这可以帮助我:
状态: {
isDuringAjax:假,
isInvalidPage:假,
isDestroyed:假,
isDone: false, // 当它一直通过档案时。
暂停:假,
当前页面:1
},
?