-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
114 lines (99 loc) · 3.44 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spinning Pre-Loader only with CSS3</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/loader-1.css">
<link rel="stylesheet" href="css/loader-2.css">
<link rel="stylesheet" href="css/loader-3.css">
<link rel="stylesheet" href="css/loader-4.css">
<link rel="stylesheet" href="css/loader-5.css">
<link rel="stylesheet" href="css/loader-6.css">
<link rel="stylesheet" href="css/loader-7.css">
<link rel="stylesheet" href="css/loader-8.css">
<link rel="stylesheet" href="css/loader-9.css">
<link rel="stylesheet" href="css/loader-10.css">
<link rel="stylesheet" href="css/loader-11.css">
</head>
<body>
<button id="1" onclick="change(this)">Loader 1</button>
<button id="2" onclick="change(this)">Loader 2</button>
<button id="3" onclick="change(this)">Loader 3</button>
<button id="4" onclick="change(this)">Loader 4</button>
<button id="5" onclick="change(this)">Loader 5</button>
<button id="6" onclick="change(this)">Loader 6</button>
<button id="7" onclick="change(this)">Loader 7</button>
<button id="8" onclick="change(this)">Loader 8</button>
<button id="9" onclick="change(this)">Loader 9</button>
<button id="10" onclick="change(this)">Loader 10</button>
<button id="11" onclick="change(this)">Loader 11</button>
<div class="loader-wrapper" id="loader-1">
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-2">
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-3">
<div id="loader"></div>
<div id="loader"></div>
<div id="loader"></div>
<div id="loader"></div>
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-4">
<div id="loader">L</div>
<div id="loader">O</div>
<div id="loader">A</div>
<div id="loader">D</div>
<div id="loader">I</div>
<div id="loader">N</div>
<div id="loader">G</div>
</div>
<div class="loader-wrapper" id="loader-5">
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-6">
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-7">
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-8">
<div id="loader"></div>
<div id="loader"></div>
<div id="loader"></div>
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-9">
<div id="loader">
<center><img src="images/deathly_hallows.png"></center>
</div>
</div>
<div class="loader-wrapper" id="loader-10">
<div id="loader"></div>
</div>
<div class="loader-wrapper" id="loader-11">
<div id="loader">
<div>
<div>
<div>
</div>
</div>
</div>
</div>
</div>
<script>
loaders = document.getElementsByClassName('loader-wrapper');
loaders[0].style.display = "inherit";
function change(self) {
for (var i = loaders.length - 1; i >= 0; i--) {
loaders[i].style.display = "none";
}
id = self.id;
loaders[id - 1].style.display = "inherit";
};
</script>
</body>
</html>