页面内容使用JavaScript或jQuery的延迟加载 [英] Deferred loading of page content using JavaScript or jQuery

查看:121
本文介绍了页面内容使用JavaScript或jQuery的延迟加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到了几个网站,他们的主页是太大了,当用户向下滚动到阅读页面的末尾,则该页面加载的一些地区动态内容。他们如何设计自己的页面?

I have seen a few websites where their home page is too big and when user scroll down to read the content at the end of the page then a few areas of that page load dynamically. How do they design their page?

作为一个例子,网站 http://blog.rainbird.me/ 在这里你可以看到影响。怎样才可以通过jQuery和Ajax它实现?

As an example the site is http://blog.rainbird.me/ where you can see the effect. How can it be achieved it via jQuery and Ajax?

推荐答案

内容延迟加载: HTTP:/ /www.appelsiini.net/projects/lazyload

滚动时加载内容: HTTP://www.webresourcesdepot。 COM /负载内容,同时滚动与 - jQuery的/

这篇关于页面内容使用JavaScript或jQuery的延迟加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆