• lazyload


    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    <body>
        <img data-original="images/001.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/002.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/003.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/004.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/005.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/006.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/007.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/008.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <img data-original="images/009.jpg" src="js/grey.gif"
            height="1077" border="0" />
        <br />
        <br />
        <script src="js/jquery-1.7.js" type="text/javascript"
            charset="utf-8"></script>
        <script src="js/jquery.lazyload.js" type="text/javascript"
            charset="utf-8"></script>
        <script type="text/javascript" charset="utf-8">
            $(function() {
                $("img").lazyload({
                    effect : "fadeIn"
                });
            });
        </script>
    </body>
    </body>
    
    </html>
  • 相关阅读:
    setValue 和 setObject 的区别
    沙盒(SandBox)
    刷题篇--热题HOT 52-60
    刷题篇--热题HOT 31-40
    刷题篇--热题HOT 41-51
    8. AIO
    7. NIO与零拷贝
    6. NIO三核心(Selector)
    5. NIO三核心(Buffer、Channel)
    刷题篇--热题HOT 21-30
  • 原文地址:https://www.cnblogs.com/jami918/p/3532503.html
Copyright © 2020-2023  润新知