开发者

Lazy Load Images In ASP.NET

I have div that contains quite a few images. When I say quite a few, the number of images could be in their hundreds.

I have some jQuery for the div that contains my images to scroll through all the images horizontally in a carousel format.

I am quite concerned with the amount of images I that will be rendered on the page and I know it will affect the page loading times.

I would be grateful if someone could show me a way to lazy load my images based on what is sh开发者_运维知识库own in my div.


Check out this lazy loading jQuery plugin:

http://plugins.jquery.com/lazyload/

See this SO thread for more information:

Javascript: Lazy Load Images In Horizontal Div?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜