-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (57 loc) · 1.95 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
<html>
<head>
<meta charset="utf-8"></meta>
<style>
body,div
{
margin:0px;
padding:0px;
font:12px Helvetica;
}
</style>
<script>
window.onload = function()
{
var clickload = document.getElementById("clickload");
var iframe = document.getElementById("content");
function loadiframe()
{
iframe.style.display = "block";
if(location.href.indexOf("?") > -1)
iframe.src = "iframe.html"+location.href.substring(location.href.indexOf("?"))
else
iframe.src = "iframe.html";
clickload.removeEventListener("click",loadiframe);
clickload.parentNode.removeChild(clickload);
clickload = null;
}
clickload.addEventListener("click",loadiframe);
};
</script>
<!-- Vault Dropdown -->
<link rel="stylesheet" href="https://use.typekit.net/vis0yeq.css">
<script src="FloatingDropdown/index.js"></script>
</head>
<body style="width:100%; height:100%; background-color:#000000; position:absolute; top:0px; left:0px;">
<floating-dropdown>
<style>
floating-dropdown {
--custom-font: "brandon-grotesque";
}
</style>
<img slot="header" src="FloatingDropdown/vault-library-logo.png" alt="Vault Games Library" width="250px">
<span slot="desc" class="content">
Field Day presents the largest collection of
<span style="color:#00ECD0">FREE</span>
learning games on the web.
</span>
<span slot="button-label" class="content">
OPEN VAULT
</span>
</floating-dropdown>
<div id="background" style="width:100%; height:100%; background-color:#000000; position:absolute; top:0px; left:0px;">
<div id="clickload" scrolling="no" style="background-size: cover; width:1024px; height:660px; display:block; margin:0px auto; overflow:hidden; border:0px; background-image:url('assets/iframe_img.jpg');"> </div>
<iframe id="content" scrolling="no" style="display:none; width:1024px; height:660px; margin:0px auto; overflow:hidden; border:0px;"></iframe>
</div>
</body>
</html>