实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE html>
2
<html>
3
    <head>
4
        <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
5
        <style>
6
            #container{
7
                overflow:hidden;
8
                overflow-y:auto;
9
                height:600px;
10
            }
11
        </style>
12
        <script type="text/javascript" src="https://ku.shouce.ren/libs/jquery/1/jquery1.7.2.min.js">
13
        </script>
14
        <script src="//ku.shouce.ren/libs/lazyload/1.7.2/js/jquery.lazyload.min.js">
15
        </script>
16
    </head>
17
    <body>
18
        <div class="main">
19
            <div class="inwrap">
20
                <h1>jQuery Lazy Load 图片延迟加载
21
                </h1>
22
                <h2>Horizontal Scrolling Inside Container 容器内的水平滚动示例