-
Notifications
You must be signed in to change notification settings - Fork 222
/
0000zSwfGameTemplate.txt
32 lines (28 loc) · 1.09 KB
/
0000zSwfGameTemplate.txt
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
<!DOCTYPE html>
<html>
<head>
<!--Title:-->
<title>Papas Bakeria</title>
<!--Image:-->
<link rel="shortcut icon" href="papasbakeria.png">
<!--Path to File:-->
<script>
var swfPath = "zswfs/papasbakeria.swf";
</script>
<script src="everypage.js"></script>
</head>
<body onload='focus()'>
<a href=".." style='font-size: 1.5rem;'>Back To Home Page</a>
<button onclick="openFullscreen('main')" style='font-size: 1.5rem;'>Fullscreen Mode</button>
<iframe style='height: calc(100vh - 1.5rem); width: calc(100vw - 2rem);' allow="fullscreen" allowfullscreen scrolling="no" frameborder="0" id="main" allowtransparency="true"></iframe>
<script src="fullScreen.js"></script>
<script src="load.js"></script>
<script>
var t='<embed width="100%" height="100%" name="plugin" id="plugin" src="'+swfPath+'" type="application/x-shockwave-flash"><script src="ruffle.js"><\/script>';
var e = document.getElementById("main");
(e=e.contentWindow||e.contentDocument.document||e.contentDocument);
e.document.open(),e.document.write(t),e.document.close();
function focus() {document.getElementById('main').focus();}
</script>
</body>
</html>