-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubPage2018.html
180 lines (150 loc) · 5.23 KB
/
subPage2018.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>기억저장소</title>
<link href="https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Sacramento&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Hi+Melody&family=Poor+Story&family=Single+Day&family=Sunflower:wght@300;500;700&display=swap" rel="stylesheet">
<link href="subPage.css" rel="stylesheet">
<style>
</style>
</head>
<body>
<div class="container">
<header>
<a class="openmenu" onclick='openNav()'><img id="menu" src="img/menu.png" ></a>
<a onclick="playVideo()"><img id="play" src="img/play.png" ></a>
<a onclick="pauseVideo()"><img id="pause" src="img/pause.png" ></a>
<div id="title">
<a class="title" href="mainPage.html">Memory box</a>
</div>
</header>
<!-- content -->
<section class="content">
<div class="Rectangle1">
</div>
<div class="board">
<h2>Moments
<br><br>
of
<br><br>
2018
</h2>
<h2 id="col">-Moments of 2018-</h2>
<div class="boxes">
<div class="box">
<img id="boxImage" src="img/lilin.jpg">
<div id="bspace"></div>
<div class="toi">
<h3>연남동 릴린</h3>
<p>인도네시아 음식!</p>
</div>
</div>
<div class="box">
<img id="boxImage" src="img/insadong.jpg">
<div id="bspace"></div>
<div class="toi">
<h3>푸룻푸룻</h3>
<p>인사동🍒🍉🍇🍓🍊</p>
</div>
</div>
<div class="box">
<img id="boxImage" src="img/rfdg2.jpg">
<div id="bspace"></div>
<div class="toi">
<h3>바다</h3>
<p>⛱</p>
</div>
</div>
<div class="box">
<img id="boxImage" src="img/rfdg.jpg">
<div id="bspace"></div>
<div class="toi">
<h3>달리는 KTX 안</h3>
<p>🚄 강릉여행</p>
</div>
</div>
<div class="box">
<img id="boxImage" src="img/dew.jpg">
<div id="bspace"></div>
<div class="toi">
<h3>운동장 맥주</h3>
<p>🍭🍻</p>
</div>
</div>
<div class="box">
<img id="boxImage" src="img/naksan.jpg">
<div id="bspace"></div>
<div class="toi">
<h3>낙산공원</h3>
<p>처음 갔던 날!</p>
</div>
</div>
</div>
<div style="z-index: 1;">
<img id="arrow" src="img/next.png" href="#">
</div>
<div id="boardspace"></div>
</div>
<div id="ytplayer"></div>
</section>
<!-- navbar -->
<nav class="navbar" id="sidenav">
<a class="closebtn" onclick='closeNav()'><img id="close" src="img/wrong.png" ></a>
<h5>menu</h5>
<hr>
<ul id="year">
<img id="arrow" src="img/up-arrow.png" href="#">
<li><a href="subPage2020.html">2020</a></li>
<li><a href="subPage2019.html">2019</a></li>
<li><a href="subPage2018.html">2018</a></li>
<li><a href="subPage2020.html">2017</a></li>
<img id="arrow" src="img/down-arrow.png">
</ul>
<ul class="collect">
<li><a href="#">favorite</a></li>
<li><a href="#">baby hyeon</a></li>
</ul>
</nav>
</div>
</body>
<script>
// Load the IFrame Player API code asynchronously.
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/player_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
// Replace the 'ytplayer' element with an <iframe> and
// YouTube player after the API code downloads.
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer', {
height: '360',
width: '640',
videoId: 'fOiwyjLpuRI'
});
}
function playVideo() {
player.playVideo();
}
function pauseVideo() {
player.pauseVideo();
}
</script>
<script>
function openNav() {
document.getElementById('sidenav').style.width = '352px';
document.getElementById('menu').style.width = '0px';
}
function closeNav() {
document.getElementById('sidenav').style.width = '0';
document.getElementById('menu').style.width = '25px';
}
</script>
</html>
</title>
</head>
<body>
</body>
</html>