-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfade.html
73 lines (69 loc) · 3.16 KB
/
fade.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
<html>
<head>
<meta charset="utf-8">
<title>demo1-jqduang_jqduang.com</title>
<meta name="keywords" content="jqduang,jqvalidate,jqmodal,jqgallery,jqfixed,jqsimulation"/>
<meta name="description" content="Mr.jqDuang,前端特效,用少的代码做多的效果,复杂的问题交给我来做,您只要短短一行代码就行!"/>
<link rel="stylesheet" href="./css/global.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/jqduang.css">
</head>
<body>
<nav class="nav">
<ul class="container">
<li><a href="/" title="jqDuang"><span>首页</span></a></li>
<li><a href="/jqduang/" title="网页特效"><span>jqDuang</span></a></li>
<li><a href="/jqvalidate/" title="表单验证"><span>jqValidate</span></a></li>
<li><a href="/jqmodal/" title="弹出层"><span>jqModal</span></a></li>
<li><a href="/jqgallery/" title="图片相册"><span>jqGallery</span></a></li>
<li><a href="/jqfixed/" title="jqfixed"><span>jqFixed</span></a></li>
<li><a href="/jqscrollspy/" title="滚动监听"><span>jqScrollspy</span></a></li>
<li><a href="/jqsimulation/" title="模拟select"><span>jqSimulation</span></a></li>
<li><a href="/aboutus/" title="关于我们"><span>关于jqDuang</span></a></li>
</ul>
</nav>
<div id="slide" data-duang="1" class="jqDuang" data-fluid="1" data-effect="leftLoop" data-cell=".thumb" data-prevbtn=".prev" data-nextbtn=".next" data-visible="1" data-autoplay="0" data-steps="1">
<div class="imglist">
<ul>
<li data-title="图片一的标题" data-url="http://www.jqduang.com/jqduang/"><img width="100%" height="300" src="images/1.jpg"/></li>
<li data-title="图片二的标题" data-url="http://www.jqduang.com/jqduang/"><img width="100%" height="300" src="images/2.jpg"/></li>
<li data-title="图片三的标题" data-url="http://www.jqduang.com/jqduang/"><img width="100%" height="300" src="images/3.jpg"/></li>
<li data-title="图片四的标题" data-url="http://www.jqduang.com/jqduang/"><img width="100%" height="300" src="images/4.jpg"/></li>
</ul>
</div>
<span class="prev btn"><</span>
<span class="next btn">></span>
<div class="thumb"></div>
<div class="pagewrap"></div>
</div>
<input type="submit" id="btn" class="btn" value=""/>
<script src="./js/jquery.js" type="text/javascript"></script>
<!-- <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script> -->
<footer class="footer tac">
<div class="container">
jqDuang, jqValidate, jqModal, jqGallery, jqFixed, jqSimulation <br/>
Copyright ©2013 jqduang.com
</div>
</footer><!-- /footer -->
<!-- <div class="dn">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b2e33c0312c7235a7e13b0cf86eec840";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</div> -->
<script src="js/jqduang.js?20150621" type="text/javascript"></script>
<script type="text/javascript">
$('#btn').click(function() {
$('.jqDuang').jqDuang('next');
});
$('#slide').on('before.duang', function() {
// console.log($(this).data('jqDuang'));
})
</script>
</body>
</html>