我正在搜索jquery插件,在那里我可以显示3个基于表的记录,并在滚动它应该使下一个3-10记录的ajax请求。类似于lazyload,但用于内容。任何代码片段都能帮到我。
发布于 2010-09-24 20:56:58
像这样的东西?
$(window).scroll(function(){
if ($(window).scrollTop() == $(document).height() - $(window).height()){
// The scrollbar is at the bottom of the screen
// Do your ajax call here and populate a div.
}
});https://stackoverflow.com/questions/3787195
复制相似问题