当用户向下滚动到内容时,如何加载内容? [英] How do I make content load when the user scrolls down to it?
本文介绍了当用户向下滚动到内容时,如何加载内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
如何根据用户滚动加载网页内容
我在制作单页网站,我希望能够在 http://www.talentgarden.it/it/#!/home ,当您向下滚动时,内容将加载。任何人都可以告诉我如何做到这一点,以及如何实现在该网站上使用的一些不同的淡入效果。
I'm making a single page website and I'm hoping to achieve the effect that you can see on http://www.talentgarden.it/it/#!/home where the content loads as you scroll down. Can anyone tell me how to do this, and how to achieve some of the different fade-in effects that are used on that site.
推荐答案
我使用Lazyload插件。有关详情,请参阅
http:/ /www.appelsiini.net/projects/lazyload
i use Lazyload plugin for it.See for more details.
http://www.appelsiini.net/projects/lazyload
这篇关于当用户向下滚动到内容时,如何加载内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文