-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
114 lines (107 loc) · 3.68 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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#ffffff">
<title>Chaser</title>
<link rel="icon" href="logo.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="interface.css" />
<script src="sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="sweetalert.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Baloo" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Amaranth" rel="stylesheet">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-85637981-5', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<h1 class="title">Chaser</h1>
<h3 class="author">By Jevin Studios</h3>
<div class="center-div">
<div class="slideshow-container">
<div class="mySlides fade">
<img src="Level1.PNG" style="width:100%">
<div id="Lvl1Text" class="text">Level 1</div>
</div>
<div class="mySlides fade">
<img src="Level2.PNG" style="width:100%">
<div id="Lvl2Text" class="text">Level 2</div>
</div>
<div class="mySlides fade">
<img src="Level3.PNG" style="width:100%">
<div id="Lvl3Text" class="text">Level 3</div>
</div>
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
</br>
<div style="text-align:center">
<button class="playButton" onclick="play()">Play</button>
<button id="settings" class="settingsBtn">Options</button>
</div>
</br>
</div>
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
</br>
<h2 style="font-family: 'Amaranth', sans-serif">Settings</h2>
</br>
</div>
<div class="modal-body">
</br>
<label style="font-family: 'Amaranth', sans-serif"><b>Difficulty</b>
<div class="difficultyHelp" id="difficultyHelp" onclick="difficultyHelp()"><i class="fa fa-question"></i>
<span class="popuptext" id="myPopup">The higher the difficulty, the faster the chaser</span>
</div>
</label>
</br></br>
<form style="font-family: 'Amaranth', sans-serif">
<select name="difficulty" id="difficultySelect">
<option id="easyOption" value="easy">Easy</option>
<option id="mediumOption" value="medium">Medium</option>
<option id="hardOption" value="hard">Hard</option>
</select>
</form>
</br>
</br>
<label style="font-family: 'Amaranth', sans-serif"><b>Colours</b></label>
</br>
</br>
<form style="font-family: 'Amaranth', sans-serif">
<u>Chaser:</u>
</br></br>
<input type= "color" name= "chaserColor" id="chaserColor">
</br>
</br>
<u>Runner:</u>
</br>
</br>
<input type="color" name= "runnerColor" id="runnerColor">
</form>
</br>
</br>
<button id="reset" class="resetBtn" onclick="resetBtn()">Reset</button>
</br>
</br>
</div>
</div>
</div>
<script type="text/javascript" src="main.js"></script>
</body>
</html>