0
我正在寻找jquery pluging,我可以显示3基于表的记录和滚动它应该为下一个3-10记录做ajax请求。类似于lazyload但内容。任何代码片段甚至可以帮助我。是否有任何jQuery插件类似lazyload的内容
我正在寻找jquery pluging,我可以显示3基于表的记录和滚动它应该为下一个3-10记录做ajax请求。类似于lazyload但内容。任何代码片段甚至可以帮助我。是否有任何jQuery插件类似lazyload的内容
像这样的东西?
$(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.
}
});
写自己很容易,为什么不走那条路? – 2010-09-24 12:52:35
我是初学者,你可以在代码中建议吗? – Bin2k 2010-09-24 12:55:04