-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
125 lines (108 loc) · 3.2 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
115
116
117
118
119
120
121
122
123
124
125
<!DOCTPYE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Maze Runner">
<meta name="keywords" content="HTML,CSS,JSON,JavaScript">
<meta name="author" content="Divya Mamgai">
<style>
body {
font-family: 'Trebuchet MS', sans-serif;
background-color: #222222;
color: #cccccc;
padding: 10px;
}
#Head {
margin-top: -5px;
}
#Head td {
font-weight: 800;
}
#Wrapper {
display: block;
position: absolute;
overflow: hidden;
}
#Display {
margin-top: 10px;
}
#Display td {
width: 32px;
height: 32px;
}
#Display .Wall {
background-color: #424242;
}
#Display .Way {
background-color: #cacaca;
}
#Display .Path {
background-color: #ff4545;
}
#Overlay {
margin-top: 10px;
position: absolute;
top: 0;
left: 0;
}
#Overlay td {
width: 32px;
height: 32px;
}
#Overlay .Wall {
background: none;
}
#Overlay .Way {
background-color: #ff4545;
opacity: 0;
position: relative;
}
.Button {
display: inline-block;
text-decoration: none;
padding: 8px;
background-color: #686868;
color: #cccccc;
transition: all 0.5s;
width: 200px;
margin-top: 10px;
margin-right: 10px;
}
.Button:hover {
background-color: #555555;
color: #ffffff;
transition: all 0.5s;
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="TweenMax.js"></script>
<script type="text/javascript" src="MazeRunner.js"></script>
</head>
<body>
<div id="Maze">
<table id="Head" width="auto" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="8">
<a class="Button" id="ComputeButton" href="#Head">Perform Computation</a>
<a class="Button" id="SelfButton" href="#Display">Solve On Your Own <br>Controls : [W, A, S, D]</a>
<a class="Button" id="CreateMaze" href="Creator">Maze Creator<br>Create Maze interactively and
quickly.<br> - <i>Kaushik Sharma</i></a>
</td>
</tr>
<tr>
<td id="Ways"></td>
</tr>
</tbody>
</table>
<div id="Wrapper">
<table id="Display" border="0" cellpadding="0" cellspacing="0">
<tbody></tbody>
</table>
<table id="Overlay" border="0" cellpadding="0" cellspacing="0">
<tbody></tbody>
</table>
</div>
</div>
</body>
</html>