-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
54 lines (47 loc) · 1.62 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
<!DOCTYPE html>
<html>
<head>
<title>Cyberpunk Street Parallax</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/stylesheet.css">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-default" id="green-navbar">
<div class="container-fluid">
<ul class="nav navbar-nav">
<li><a href="./">Home</a></li>
<li><a href="story.html">Story</a></li>
<li><a href="credit.html">Credit</a></li>
</ul>
</div>
</nav>
<!-- <div class="text-box col-sm-6 text-center" style="float: none;">
<div id="demo"></div>
<a href="#" class="btn btn-primary" onclick="clearTextBox();typeWriter();">CONTINUE</a>
</div> -->
<div class="foreground"></div>
<div class="midground">
</div>
<div class="background">
</div>
<!-- <script>
// https://www.w3schools.com/howto/howto_js_typewriter.asp
var i = 0;
var txt = 'In the year 30XX, the tyrannical Techno-Overlords have infected the universal hive of human civilization with ABC (Awfully Bad Code) as part of Project Jasconius.';
var speed = 75; /* The speed/duration of the effect in milliseconds */
function typeWriter() {
if (i < txt.length) {
document.getElementById("demo").innerHTML += txt.charAt(i);
i++;
setTimeout(typeWriter, speed);
}
}
function clearTextBox() {
i = 0;
document.getElementById("demo").innerHTML = "";
}
typeWriter();
</script> -->
</body>
</html>