-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-3-1.html
128 lines (127 loc) · 2.8 KB
/
index-3-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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"/>
<title>饮香录</title>
<style>
html{
height: 100%;
}
body{
background-image: url("img/第3页(背景).png");
background-repeat: no-repeat;
background-position: center 0;
background-size:100% 100%;
}
img{
position: absolute;
width: 20%;
}
#img111{
width: 100%;
height: 100%;
}
#img1{
width: 30%;
top:-20%;
left: -5%;
}
#img4{
width: 30%;
top:-20%;
left: 78%;
}
#img5{
width: 30%;
top:-20%;
left: 40%;
}
#img6{
bottom:5%;
left:18%;
}
#img7{
bottom:5%;
left: 40%;
}
#img8{
bottom:5%;
left: 63%;
}
#img9{
bottom:5%;
left: 0%;
}
#img10{
bottom:5%;
left: 80%;
}
#img11{
width: 70%;
bottom:23%;
left: 18%;
}
#img112{
width: 80%;
bottom:50%;
left:10%;
}
#img113{
width: 20%;
bottom:40%;
left:20%;
}
#img114{
width: 20%;
bottom:40%;
right:20%;
}
</style>
</head>
<body>
<div id="div1">
<img id="img1" src="img/第3页 按钮 (1).png" />
<img id="img4" src="img/第3页 按钮 (4).png" />
<span onclick="int1()"><img id="img5" src="img/第3页 按钮 (5).png" /></span>
</div>
<div id="div2">
<span onclick="into1()"><img id="img6" src="img1/花 1.png" /></span>
<span onclick="into2()"><img id="img7" src="img1/花 6.png" /></span>
<span onclick="into3()"><img id="img8" src="img1/花 7.png" /></span>
</div>
<div id="div3">
<img id="img9" src="img/第3页 按钮 (6).png" />
<img id="img10" src="img/第3页 按钮 (7).png" />
</div>
<div id="div4">
<img id="img11" src="img2/1.png" />
</div>
<div id="div11" style="visibility:hidden ;">
<img id="img111" src="img/第3页 (2).png" style="opacity: 0.9;"/>
<img id="img112" src="img/第3页 (11).png" style="opacity: 0.9;"/>
<span onclick="int2()" ><img id="img113" src="img/第3页 (12).png" style="opacity: 0.9;"/></span>
<a href="index-2.html"><img id="img114" src="img/第3页 (13).png" style="opacity: 0.9;"/></a>
</div>
<script>
var p4=document.getElementById("img11");
function into1(){
p4.src="img3/1 (1).png";
}
function into2(){
p4.src="img3/1 (2).png";
}
function into3(){
p4.src="img3/1 (3).png";
}
</script>
<script>
function int1(){
document.getElementById("div11").style.visibility="visible";
}
function int2(){
document.getElementById("div11").style.visibility="hidden";
}
</script>
</body>
</html>