-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path7th_floor_701.html
More file actions
377 lines (325 loc) · 12.9 KB
/
7th_floor_701.html
File metadata and controls
377 lines (325 loc) · 12.9 KB
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="./css/reset.css">
<link rel="stylesheet" type="text/css" href="./css/common.css">
<!-- <link rel="stylesheet" type="text/css" href="./css/loader.css"> -->
<link rel="stylesheet" type="text/css" href="./css/7th_floor_701.css">
<link href="https://fonts.googleapis.com/css?family=Noto+Serif+KR:400,700&display=swap&subset=korean" rel="stylesheet">
<script src="https://kit.fontawesome.com/296406b34b.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<title>센티멘탈 호텔 :: 701호</title>
</head>
<body>
<div class="container">
<div class="fade-box"></div>
<div class="dialogue-box"></div>
<div class="dialogue-box2 dialogue-1-1">
<h1 class="name"><span class="player-name"></span></h1>
<p class="line top-line first-line">여기가 반짝이는 별님이 지내시는 <strong>스위트 룸</strong>이구나...</p>
<p class="line top-line second-line next-line">음... 뭔가...</p>
<p class="line top-line third-line next-line"><strong>비밀이 있을 것만 같은 이 느낌은 뭐지...?</strong></p>
<p class="line top-line fourth-line next-line"></p>
<p class="line top-line fifth-line next-line"></p>
<p class="line top-line sixth-line next-line"></p>
<p class="line top-line seventh-line next-line"></p>
<p class="line bottom-line fourth-line three-toplines"><span class="clicker clicker-1">(클릭 가능한 모든 그림을 클릭해봐야 할 것만 같다...!)</span></p>
</div>
<a href="b1.html">
<img class="gif gifhover elevator elevator1" src="image/701/엘베1.png">
</a>
<audio id="door">
<source src="sound/701/door.mp3" type="audio/mpeg">
</audio>
<img class="gif elevator elevator2" src="image/701/엘베2.png">
<img class="gif bookshelf" src="image/701/책장.png">
<audio id="long-lamp">
<source src="sound/701/lamp-big.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover long-lamp long-lamp-1" src="image/701/긴스탠드1.png">
<img class="gif long-lamp long-lamp-2" src="image/701/긴스탠드2.png">
<audio id="book1">
<source src="sound/701/book1.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover book-a book-a1" src="image/701/책A1.png">
<img class="gif book-a book-a2" src="image/701/책A2.png">
<audio id="book2">
<source src="sound/701/book2.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover book-b book-b1" src="image/701/책B1.png">
<img class="gif book-b book-b2" src="image/701/책B2.png">
<audio id="book3">
<source src="sound/701/book3.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover book-c book-c1" src="image/701/책C1.png">
<img class="gif book-c book-c2" src="image/701/책C2.png">
<audio id="mirror">
<source src="sound/701/mirror.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover mirror mirror1" src="image/701/거울1.png">
<img class="gif gifhover mirror mirror2" src="image/701/거울2.png">
<img class="gif mirror mirror3" src="image/701/거울3.png">
<audio id="radio">
<source src="sound/701/radio.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover radio radio1" src="image/701/라디오1.png">
<img class="gif gifhover radio radio2" src="image/701/라디오2.png">
<img class="gif gifhover radio radio3" src="image/701/라디오3.png">
<img class="gif radio radio4" src="image/701/라디오4.png">
<audio id="tea">
<source src="sound/701/tea.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover tea tea1" src="image/701/차1.png">
<img class="gif gifhover tea tea2" src="image/701/차2.png">
<img class="gif gifhover tea tea3" src="image/701/차3.png">
<img class="gif gifhover tea tea4" src="image/701/차4.png">
<img class="gif tea tea5" src="image/701/차5.png">
<audio id="telephone">
<source src="sound/701/telephone.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover telephone telephone1" src="image/701/전화기1.png">
<img class="gif telephone telephone2" src="image/701/전화기2.png">
<audio id="star">
<source src="sound/701/star.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover window window1" src="image/701/창1.png">
<img class="gif gifhover window window2" src="image/701/창2.png">
<img class="gif gifhover window window3" src="image/701/창3.png">
<img class="gif gifhover window window4" src="image/701/창4.png">
<img class="gif gifhover window window5" src="image/701/창5.png">
<img class="gif window window6" src="image/701/창6.png">
<audio id="wink">
<source src="sound/701/wink.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover buddha buddha1" src="image/701/부처1.png">
<img class="gif buddha buddha2" src="image/701/부처2.png">
<audio id="small-lamp">
<source src="sound/701/lamp-small.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover small-lamp small-lamp1" src="image/701/스탠드-전등1.png">
<img class="gif small-lamp small-lamp2" src="image/701/스탠드-전등2.png">
<audio id="startup">
<source src="sound/701/startup.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover laptop laptop1" src="image/701/노트북1.png">
<img class="gif laptop laptop2" src="image/701/노트북2.png">
<audio id="candle">
<source src="sound/701/fire.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover candle candle1" src="image/701/초1.png">
<img class="gif candle candle2" src="image/701/초2.png">
<audio id="cat">
<source src="sound/701/cat.mp3" type="audio/mpeg">
</audio>
<img class="gif gifhover cat cat1" src="image/701/고양이1.png">
<img class="gif cat cat2" src="image/701/고양이2.png">
</div>
<script src="script/playerName.js"></script>
<script>
let longlamp = false;
let smalllamp = false;
let book1 = false;
let book2 = false;
let book3 = false;
let mirror = false;
let radio = false;
let tea = false;
let telephone = false;
let windows = false;
let buddha = false;
let laptop = false;
let candle = false;
let cat = false;
let revealfunc = false;
function reveal() {
if (
longlamp === true
&& smalllamp === true
&& book1 === true
&& book2 === true
&& book3 === true
&& mirror === true
&& radio === true
&& tea === true
&& telephone === true
&& windows === true
&& buddha === true
&& laptop === true
&& candle === true
&& cat === true
) {
revealfunc = true;
$('.bookshelf, .book-a2, .book-b2').fadeOut(2500);
} else {}
}
reveal();
$('.fade-box').delay(4000).fadeOut(2000);
setTimeout(function(){
$('.dialogue-box, .dialogue-1-1, .dialogue-1-1 .line').show();
}, 6000);
$('.clicker-1').click(function(){
$('.dialogue-box, .dialogue-1-1, .dialogue-1-1 .line').hide();
})
//quick view
$('.dialogue-1-1').click(function() {
$(event.currentTarget).children().css('animation', 'none');})
$('.elevator1').click(function(){
event.preventDefault();
$(this).hide();
$('.elevator2').show();
$('#door')[0].play();
$('.fade-box').delay(1000).fadeIn(2000);
setTimeout(function() {
window.location = $('a').attr('href');
}, 4000);
})
$('.book-a1').click(function(){
$('#book1')[0].play();
book1 = true;
setTimeout(function(){
$('.book-a1').hide();
$('.book-a2').show();
}, 100)
reveal();
})
$('.book-b1').click(function(){
$('#book2')[0].play();
book2 = true;
setTimeout(function(){
$('.book-b1').hide();
$('.book-b2').show();
}, 100)
reveal();
})
$('.book-c1').click(function(){
$('#book3')[0].play();
book3 = true;
setTimeout(function(){
$('.book-c1').hide();
$('.book-c2').show();
}, 100)
reveal();
})
$('.long-lamp-1').click(function(){
$('#long-lamp')[0].play();
longlamp = true;
setTimeout(function(){
$(this).hide();
$('.long-lamp-2').show();
}, 200)
reveal();
})
$('.mirror1').click(function(){
$('#mirror')[0].play();
mirror = true;
t = 100;
setTimeout(function(){$('.mirror1').hide();}, t);
setTimeout(function(){$('.mirror2').show();}, t);
setTimeout(function(){$('.mirror2').hide();}, t*2);
setTimeout(function(){$('.mirror3').show();}, t*2);
reveal();
})
$('.radio1').click(function(){
radio = true;
t = 400;
let radiogif = function(){
setTimeout(function(){$('.radio1').hide();}, t);
setTimeout(function(){$('.radio2').show();}, t);
setTimeout(function(){$('.radio2').hide();}, t*2);
setTimeout(function(){$('.radio3').show();}, t*2);
setTimeout(function(){$('.radio3').hide();}, t*3);
setTimeout(function(){$('.radio4').show();}, t*3);
setTimeout(function(){$('.radio4').hide();}, t*4);
setTimeout(function(){$('.radio1').show();}, t*4);
}
let repeat = setInterval(radiogif, t*4);
setTimeout(function() {clearInterval(repeat);}, t*4*7);
$('#radio')[0].play();
setTimeout(function(){
$('.radio1').hide();
$('.radio4').show();
}, t*33);
reveal();
})
$('.tea1').click(function(){
tea = true;
t = 1100;
setTimeout(function(){$('.tea1').hide();}, t-200);
setTimeout(function(){$('.tea2').show();}, t-200);
setTimeout(function(){$('.tea2').hide();}, t*2);
setTimeout(function(){$('.tea3').show();}, t*2);
setTimeout(function(){$('.tea3').hide();}, t*3);
setTimeout(function(){$('.tea4').show();}, t*3);
setTimeout(function(){$('.tea4').hide();}, t*4);
setTimeout(function(){$('.tea5').show();}, t*4);
$('#tea')[0].play();
reveal();
})
$('.window1').click(function(){
$('#star')[0].play();
windows = true;
t = 70;
i = 30;
setTimeout(function(){$('.window1').hide();}, i + t);
setTimeout(function(){$('.window2').show();}, i + t);
setTimeout(function(){$('.window2').hide();}, i + t*2);
setTimeout(function(){$('.window3').show();}, i + t*2);
setTimeout(function(){$('.window3').hide();}, i + t*3);
setTimeout(function(){$('.window4').show();}, i + t*3);
setTimeout(function(){$('.window4').hide();}, i + t*4);
setTimeout(function(){$('.window5').show();}, i + t*4);
setTimeout(function(){$('.window5').hide();}, i + t*5);
setTimeout(function(){$('.window6').show();}, i + t*5);
reveal();
})
$('.telephone1').click(function(){
$('#telephone')[0].play();
telephone = true;
$(this).hide();
$('.telephone2').show();
reveal();
})
$('.small-lamp1').click(function(){
$('#small-lamp')[0].play();
smalllamp = true;
setTimeout(function(){
$(this).hide();
$('.small-lamp2').show();
}, 200)
reveal();
})
$('.buddha1').click(function(){
$('#wink')[0].play();
buddha = true;
setTimeout(function(){
$('.buddha1').hide();
$('.buddha2').show();
}, 100)
reveal();
})
$('.laptop1').click(function(){
laptop = true;
$('#startup')[0].play();
$('.laptop2').delay(200).fadeIn(400);
reveal();
})
$('.candle1').click(function(){
$('#candle')[0].play();
candle = true;
$(this).delay(400).fadeOut();
$('.candle2').delay(200).fadeIn();
reveal();
})
$('.cat1').click(function(){
cat = true;
$('#cat')[0].play();
$(this).hide();
$('.cat2').show();
reveal();
})
</script>
</body>
</html>