Delayed loading of jQuery images and delayed loading of jquery Images

Source: Internet
Author: User

Delayed loading of jQuery images and delayed loading of jquery Images

Delayed loading means that the display is loaded only when the image appears in the browser display area when the scroll bar is dragged. Before that, all images were replaced by one image. Reduces traffic and server load.

Effect display http://hovertree.com/texiao/jqimg/7/


Use the mouse or keyboard arrow keys to scroll down the page and pay attention to image changes. This special effect does not use a special image delay loading plug-in. You only need a small piece of jQuery code to implement image delay loading, which is very convenient to use. Download the source code at the end of this article.


Images used for loading:




The Code is as follows:

<! DOCTYPE html> 

Source code download: http://hovertree.com/h/bjaf/77wklbrj.htm

Effect Summary: http://www.cnblogs.com/roucheng/p/texiao.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.