开发者

Dynamic image loading

I have a page that lists users, each user has a profile image. The page loads very slow since all the profile images are loaded. Is there a way of only loading the profile images that are visible and then dynamically loading the other profile images as they are shown when the users scrolls down the page? And/or is it better to dynamically build CSS style blocks where the profile 开发者_StackOverflow中文版images are all located?


Check out this Asynchronous Image Loader Plugin

http://www.sebastianoarmelibattana.com/projects

(GitHub Project)


This article will help you:

http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜