-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathfunctional-all-examples.html
42 lines (38 loc) · 1.06 KB
/
functional-all-examples.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Functional Test</title>
<link href="../unicodetiles/unicodetiles.css" rel="stylesheet" type="text/css" />
<link href="../docs/style.css" rel="stylesheet" type="text/css" />
<link href="../examples/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<p class="centerer">Displays all examples for quickly verifying they work.</p>
<a class="backlink" href="index.html"><-- Back</a>
</div>
<script>
var path = "../examples/";
var names = [
"01-minimal",
"02-simple-dungeon",
"03-fov-dungeon",
"04-shader-lighting",
"05-infinite-forest",
"06-transition-effects",
"07-squarify",
"08-raycaster"
];
var container = document.getElementById("container");
for (var i = 0; i < names.length; ++i) {
var frame = document.createElement("iframe");
frame.width = 800;
frame.height = 600;
frame.seamless = true;
frame.src = path + names[i] + ".html";
container.appendChild(frame);
}
</script>
</body>
</html>