-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUntitled-1.html
100 lines (87 loc) · 2.59 KB
/
Untitled-1.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
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8">
<title>竞赛网</title>
<link href="bootstrap/bootstrap-3.3.2-dist/bootstrap-3.3.2-dist/css/bootstrap.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<link href="css/index.css" rel="stylesheet">
<script src="js/jquery-2.1.1.min.js"></script>
<script type="text/javascript">
$(function(){
$('#kinMaxShow').kinMaxShow({
height:400,
intervalTime:2,
button:{
showIndex:false,
normal:{background:'url(images/button.png) no-repeat -14px 0',marginRight:'8px',border:'0',right:'44%',bottom:'20px'},
focus:{background:'url(images/button.png) no-repeat 0 0',border:'0'}
},
callback:function(index,action){
switch(index){
case 0:
if(action=='fadeIn'){
$(this).find('.sub_1_1').animate({left:'200px'},600);
$(this).find('.sub_1_2').animate({right:'200px'},600);
}else{
$(this).find('.sub_1_1').animate({left:'10px'},600);
$(this).find('.sub_1_2').animate({right:'10px'},600);
}
break;
case 1:
if(action=='fadeIn'){
}else{
}
break;
case 2:
if(action=='fadeIn'){
}else{
}
break;
case 3:
if(action=='fadeIn'){
}else{
}
break;
}
}
});
});
</script>
</head>
<body>
<div class="container">
<ul class="nav nav-pills">
<li role="presentation" class="active"><a href="#">Home</a></li>
<li role="presentation"><a href="#">Profile</a></li>
<li role="presentation"><a href="#">Messages</a></li>
</ul>
<div id="kinMaxShow">
<div>
<a href="#"> <img src="images/1.jpg" /> </a>
<div>
<img class="sub_1_1" src="images/sub/sub_1.jpg" />
<img class="sub_1_2" src="images/sub/sub_2.jpg" usemap="#Map_1_2" border="0" />
<map name="Map_1_2" id="Map_1_2">
<area shape="rect" coords="2,96,106,123" href="#" target="_blank"/>
</map>
</div>
</div>
<div>
<a href="#"> <img src="images/2.jpg" /> </a>
</div>
<div>
<a href="#"> <img src="images/3.jpg" /> </a>
</div>
<div>
<a href="#"> <img src="images/4.jpg" /> </a>
</div>
</div>
</div>
<script src="bootstrap/bootstrap-3.3.2-dist/bootstrap-3.3.2-dist/js/bootstrap.js"></script>
<script src="js/jquery.kinMaxShow-1.1.min.js"></script>
</body>
</html>