-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathc_photoexplorer.html
159 lines (152 loc) · 11.2 KB
/
c_photoexplorer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>DK Toolkit Index</title>
<link href="resource/css/index_style.css" rel="stylesheet" type="text/css" />
<link href="resource/css/dp_common.css" rel="stylesheet" type="text/css" />
</head>
<body>
<header>
<div id="logo_area">
<a id="logo">DK Toolkit</a>
</div>
<nav>
<ul>
<li><a href="#">首页</a></li>
<li><a href="#">基础</a></li>
<li><a href="#">控件</a></li>
<li><a href="#">其他</a></li>
</ul>
</nav>
</header>
<div id="main">
<div class="box_header">
<span>首页</span>
</div>
<nav id="sub">
<ul>
<li><a href="#">基础</a>
<ul class="sub">
<li><a href="#">基础工具库</a></li>
<li><a href="#">Ajax</a></li>
<li><a href="#">动画</a></li>
</ul>
</li>
<li><a href="#">组件</a>
<ul class="sub">
<li><a href="#">本地存储增强</a></li>
<li><a href="#">Placeholder-jQuery插件</a></li>
<li><a href="#">表单验证工具</a></li>
<li><a href="#">日历</a></li>
<li><a href="#">颜色拾取器</a></li>
<li><a href="#">拖拽</a></li>
<li><a href="#">多种特效幻灯片</a></li>
<li><a href="#">弹出窗口</a></li>
<li><a href="#">动态表格</a></li>
<li><a href="#">模拟右键菜单</a></li>
<li><a href="#">简单的文本编辑器</a></li>
<li><a href="#">自定义下拉框</a></li>
<li><a href="#">标签控件</a></li>
<li><a href="#">树形菜单</a></li>
<li><a href="#" class="select">延迟加载</a></li>
<li><a href="#">图片浏览器</a></li>
<li><a href="#">无刷新多图片上传</a></li>
<li><a href="#">图片横向滚动</a></li>
</ul>
</li>
<li><a href="#">其他</a>
<ul class="sub">
<li><a href="#">带角的气泡</a></li>
<li><a href="#">会动的眼珠</a></li>
<li><a href="#">HTML5时间轴</a></li>
<li><a href="#">一个简单的HTML5汽车游戏</a></li>
<li><a href="#">Nodejs的MVC框架</a></li>
<li><a href="#">A star自动寻路</a></li>
<li><a href="#">随着页面滚动的特效-视差特效</a></li>
<li><a href="#">瀑布流</a></li>
</ul>
</li>
</ul>
</nav>
<div id="main_content">
<div class="cline">
<h2>图片浏览器</h2>
</div>
<div class="form_box">
<ul id="photoexplorer">
<li id="img_0" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/4756d92165e6fa2801499e369fdfb51e.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/4756d92165e6fa2801499e369fdfb51e.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/4756d92165e6fa2801499e369fdfb51e.jpg" /></li>
<li id="img_1" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/c30e8538b63ac36ea6b44784a13d6400.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/c30e8538b63ac36ea6b44784a13d6400.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/c30e8538b63ac36ea6b44784a13d6400.jpg" /></li>
<li id="img_2" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/ff8d408a332458fc2d52fcc3ee83f200.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" /></li>
<li id="img_3" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/2dc5f8cf547cc44fa267c0c14cc80660.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/2dc5f8cf547cc44fa267c0c14cc80660.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/2dc5f8cf547cc44fa267c0c14cc80660.jpg" /></li>
<li id="img_4" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/3d0b552f23064de8ae18630dec8cce5d.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/3d0b552f23064de8ae18630dec8cce5d.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/3d0b552f23064de8ae18630dec8cce5d.jpg" /></li>
<li id="img_5" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/4756d92165e6fa2801499e369fdfb51e.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/4756d92165e6fa2801499e369fdfb51e.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/4756d92165e6fa2801499e369fdfb51e.jpg" /></li>
<li id="img_6" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/c30e8538b63ac36ea6b44784a13d6400.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/c30e8538b63ac36ea6b44784a13d6400.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/c30e8538b63ac36ea6b44784a13d6400.jpg" /></li>
<li id="img_7" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/ff8d408a332458fc2d52fcc3ee83f200.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" /></li>
<li id="img_8" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/2dc5f8cf547cc44fa267c0c14cc80660.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/2dc5f8cf547cc44fa267c0c14cc80660.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/2dc5f8cf547cc44fa267c0c14cc80660.jpg" /></li>
<li id="img_9" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/3d0b552f23064de8ae18630dec8cce5d.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/3d0b552f23064de8ae18630dec8cce5d.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/3d0b552f23064de8ae18630dec8cce5d.jpg" /></li>
<li id="img_10" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/4756d92165e6fa2801499e369fdfb51e.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/4756d92165e6fa2801499e369fdfb51e.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/4756d92165e6fa2801499e369fdfb51e.jpg" /></li>
<li id="img_11" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/c30e8538b63ac36ea6b44784a13d6400.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/c30e8538b63ac36ea6b44784a13d6400.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/c30e8538b63ac36ea6b44784a13d6400.jpg" /></li>
<li id="img_12" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/ff8d408a332458fc2d52fcc3ee83f200.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" /></li>
<li id="img_13" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/2dc5f8cf547cc44fa267c0c14cc80660.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/2dc5f8cf547cc44fa267c0c14cc80660.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/2dc5f8cf547cc44fa267c0c14cc80660.jpg" /></li>
<li id="img_14" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/3d0b552f23064de8ae18630dec8cce5d.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/3d0b552f23064de8ae18630dec8cce5d.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/3d0b552f23064de8ae18630dec8cce5d.jpg" /></li>
<li id="img_15" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/4756d92165e6fa2801499e369fdfb51e.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/4756d92165e6fa2801499e369fdfb51e.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/4756d92165e6fa2801499e369fdfb51e.jpg" /></li>
<li id="img_16" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/c30e8538b63ac36ea6b44784a13d6400.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/c30e8538b63ac36ea6b44784a13d6400.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/c30e8538b63ac36ea6b44784a13d6400.jpg" /></li>
<li id="img_17" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/ff8d408a332458fc2d52fcc3ee83f200.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/ff8d408a332458fc2d52fcc3ee83f200.jpg" /></li>
<li id="img_18" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/2dc5f8cf547cc44fa267c0c14cc80660.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/2dc5f8cf547cc44fa267c0c14cc80660.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/2dc5f8cf547cc44fa267c0c14cc80660.jpg" /></li>
<li id="img_19" class="thumb"><img src="http://img.scimg.cn/userupload/auction/items/1046/111374/60x60/3d0b552f23064de8ae18630dec8cce5d.jpg" middleurl="http://img.scimg.cn/userupload/auction/items/1046/111374/600x600/3d0b552f23064de8ae18630dec8cce5d.jpg" bigurl="http://img.scimg.cn/userupload/auction/items/1046/111374/orgi/3d0b552f23064de8ae18630dec8cce5d.jpg" /></li>
</ul>
</div>
<div class="cline">
<h3>示例代码</h3>
</div>
<div class="cline">
<pre>LazyLoad.init(); </pre>
</div>
<div class="cline">
<h2>使用说明</h2>
</div>
<div class="cline">
调用LazyLoad.init()方法来索引所有需要延迟加载的图片。需要延迟加载的图片需要有一个realsrc属性。
</div>
<div class="cline">
<h3>LazyLoad.init(options)</h3>
</div>
<div class="cline">
初始化延迟加载
</div>
<div class="cline">
<pre>LazyLoad.init(options)</pre>
</div>
<div class="cline">
<h4>参数</h4>
</div>
<div class="cline">
<ol>
<li>options - (json, optional) 选项
<ol>
<li>range - (int, optional) 预加载的范围</li>
<li>elements- (node, optional) 预加载的项</li>
<li>replaceImg - (string, optional) 替换的图片</li>
<li>laodingBg - (string, optional) 背景</li>
<li>container - (Dom, optional) 容器</li>
<li>loadQueue - (array, optional) 加载的队列</li>
<li>isStatic - (bool, optional) 是否为静态</li>
<li>onImageLoad - (function, optional) 图片加载完成调用的函数</li>
</ol>
</li>
</ol>
</div>
</div>
<div class="clr"></div>
</div>
<footer>
Copyright © Dukai 2012
</footer>
<script src="resource/js/dk_tools.js"></script>
<script src="resource/js/jquery-1.4.2.js"></script>
<script src="resource/js/photo-album.js"></script>
<script>
</script>
</body>
</html>