-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame-page.html
94 lines (81 loc) · 3.83 KB
/
game-page.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tyler's Game</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
var unityObjectUrl = "http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject2.js";
if (document.location.protocol == 'https:')
unityObjectUrl = unityObjectUrl.replace("http://", "https://ssl-");
document.write('<script type="text\/javascript" src="' + unityObjectUrl + '"><\/script>');
</script>
<script type="text/javascript">
var u = new UnityObject2();
u.observeProgress(function (progress) {
var $missingScreen = jQuery(progress.targetEl).find(".missing");
switch(progress.pluginStatus) {
case "unsupported":
showUnsupported();
break;
case "broken":
alert("You will need to restart your browser after installation.");
break;
case "missing":
$missingScreen.find("a").click(function (e) {
e.stopPropagation();
e.preventDefault();
u.installPlugin();
return false;
});
$missingScreen.show();
break;
case "installed":
$missingScreen.remove();
break;
case "first":
break;
}
});
jQuery(function(){
u.initPlugin(jQuery("#unityPlayer")[0], "TylerMckenzie.github.io.unity3d");
});
</script>
<link rel="stylesheet" type="text/css" href="stylesheets/game-page.css"/>
</head>
<body>
<div id="menu">
<ul>
<li><a href="index.html">HOME</a></li>
<li><a href="blog/css-concepts.html">BLOGS</a></li>
<li><a href="game-page.html">GAME</a></li>
<li><a href="projects/index.html">Projects</a></li>
</ul>
</div>
<hr class="line-sep"></hr>
<main>
<p class="header">
<span>Unity Web Player | </span>If not supported look at this: <a href="http://twiik.net/articles/google-chrome-just-killed-the-unity-web-player">http://twiik.net/articles/google-chrome-just-killed-the-unity-web-player</a></p>
<div class="content">
<div id="unityPlayer" class="game">
<div class="missing">
<a href="http://unity3d.com/webplayer/" title="Unity Web Player. Install now!">
<img alt="Unity Web Player. Install now!" src="http://webplayer.unity3d.com/installation/getunity.png" width="193" height="63" />
</a>
</div>
</div>
</div>
<p class="footer">« created with <a href="http://unity3d.com/unity/" title="Go to unity3d.com">Unity</a> »</p>
</main>
<hr class="line-sep"></hr>
<footer>
<p id="f-header">contact me</p>
<div>
<ul>
<li><a href="https://www.facebook.com/tyler.mckenzie.148?fref=ts"><img class="img-size" src="imgs/facebook-logo.png"/></a></li>
<li><a href="https://www.linkedin.com/profile/preview?vpa=pub&locale=en_US"><img class="img-size" src="imgs/linkedin-logo.png"/></a></li>
<li><a href="https://github.com/TylerMcKenzie"><img class="img-size" src="imgs/github-logo.png"/></a></li>
</ul>
</div>
</footer>
</body>
</html>