php - Load content when scroll down like facebook does in wall posts - Stack Overflow

I'm creating the effect that when I scroll my document to the bottom watching a set of post and ge

I'm creating the effect that when I scroll my document to the bottom watching a set of post and get the last one, I start loading new posts in the same way as facebook does in the wall.

Well, the effect is not the same.

In facebook, when new content is loaded, the position in the document only scroll up a little bit to see that new content is ready but in the mine the effect differ. Sometimes it scroll down and other to the middle, etc...

Does anyone know any technic I could use?

Thanks.

I'm creating the effect that when I scroll my document to the bottom watching a set of post and get the last one, I start loading new posts in the same way as facebook does in the wall.

Well, the effect is not the same.

In facebook, when new content is loaded, the position in the document only scroll up a little bit to see that new content is ready but in the mine the effect differ. Sometimes it scroll down and other to the middle, etc...

Does anyone know any technic I could use?

Thanks.

Share Improve this question asked Aug 15, 2012 at 22:57 domoindaldomoindal 1,5332 gold badges17 silver badges35 bronze badges 1
  • 4 there are a bunch of jquery examples at jquery4u./tutorials/jquery-infinite-scrolling-demos/… – Keith Commented Aug 15, 2012 at 23:00
Add a ment  | 

2 Answers 2

Reset to default 2

you can do it with masonry infinite scroll

and also with Infinite Scroll by Paul Irish

Yes you can do it using simple php and jquery trick. See HERE

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

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

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

关注微信