-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·47 lines (40 loc) · 1.33 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
<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);
console.log("v0.0.1");
loadiframe();
};
</script>
</head>
<body style="width:100%; height:100%; background-color:#444444; position:absolute; top:0px; left:0px;">
<div id="background" style="width:100%; height:100%; background-color:#444444; 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/splash.png');"></div>
<iframe id="content" scrolling="no" style="display:none; width:1024px; height:660px; margin:0px auto; overflow:hidden; border:0px;"></iframe>
</div>
</body>
</html>