I'm making a pagination system (sort of like Facebook) where the content loads when the user scrolls to the bottom.(我正在创建一个分页系统(有点像Facebook),当用户滚动到底部时,内容会加载。)
I imagine the best way to do that is to find when the user is at the bottom of the page and run an ajax query to load more posts.(我想最好的方法是找到用户位于页面底部并运行ajax查询以加载更多帖子。)
The only problem is I don't know how to check if the user has scrolled to the bottom of the page with jQuery.(唯一的问题是我不知道如何检查用户是否已使用jQuery滚动到页面底部。) Any ideas?(有任何想法吗?)
I need to find a way to check when the user has scrolled to the bottom of the page with jQuery.(我需要找到一种方法来检查用户何时使用jQuery滚动到页面底部。)
ask by Johnny translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…