-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (69 loc) · 1.67 KB
/
index.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
<!DOCTYPE html>
<head>
<script src="./node_modules/react/dist/react.js"> </script>
<script src="./node_modules/react-dom/dist/react-dom.js"> </script>
<script type="text/javascript" src="./node_modules/jquery/dist/jquery.min.js"></script>
<link href="./src/css/index.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="app">
<h1> I am a great music player </h1>
</div>
<style>
.list-title {
display: inline-block;
}
.sublist {
display: none;
}
.list-title:hover .sublist {
display: block;
position: absolute;
}
.drop-down {
height:1000px;
display: none;
}
.back-to-top {
bottom: 0px;
right: 0px;
position: fixed;
}
</style>
<div class="drop-down">
<ul>
<li class="list-title"> a
<ul class="sublist">
<li>a1</li>
<li>a2</li>
<li>a3</li>
</ul>
</li>
<li class="list-title"> b
<ul class="sublist">
<li>b1</li>
<li>b2</li>
<li>b3</li>
</ul>
</li>
<li class="list-title">c</li>
<li class="list-title">d</li>
</ul>
</div>
<div class="back-to-top">Back To Top</div>
</body>
<script>
$( document ).ready(function() {
$('.back-to-top').on('click', function () {
$('.drop-down').fadeOut();
});
})
</script>
<script src="./dist/src/components/library.js"></script>
<script src="./dist/src/components/libraryEntry.js"></script>
<script src="./dist/src/components/player.js"></script>
<script src="./dist/src/components/queue.js"></script>
<script src="./dist/src/components/queueEntry.js"></script>
<script src="./dist/src/data/data.js"></script>
<script src="./dist/src/components/app.js"></script>
</html>