jquery - How do you call a JavaScript (AJAX) function when the user reaches the end of a page to load new content? - Stack Overf

On twitter (new twitter) and facebook they now have the the ability to load new tweets and posts when y

On twitter (new twitter) and facebook they now have the the ability to load new tweets and posts when you hit the bottom of the page..

Is there a JavaScript / jQuery event that you can call / add to a div so when the browser hits the bottom it does some ajax call to get the new data?

Thanks

Daniel

On twitter (new twitter) and facebook they now have the the ability to load new tweets and posts when you hit the bottom of the page..

Is there a JavaScript / jQuery event that you can call / add to a div so when the browser hits the bottom it does some ajax call to get the new data?

Thanks

Daniel

Share Improve this question edited Oct 6, 2010 at 7:23 Daniel Vassallo 345k72 gold badges512 silver badges446 bronze badges asked Oct 5, 2010 at 11:08 Daniel UptonDaniel Upton 5,7618 gold badges44 silver badges65 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 5

There's a jQuery plugin for that: Infinite Scroll jQuery Plugin.

And here's the description of the pattern that it implements: The Interaction Design Pattern.

It's called Infinite Scrolling, and there's a jQuery plugin for it here: http://www.infinite-scroll./

It's called "Lazy Loading"

a plugin for jquery: http://www.appelsiini/projects/lazyload

in fact there are many plugins: http://www.google./search?q=lazy+loading+jquery

googling for Lazy Loading will help you a load :) http://www.google./search?q=lazy+loading

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744940109a4602269.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信