-
Notifications
You must be signed in to change notification settings - Fork 101
/
Copy pathindex.html
138 lines (100 loc) · 3.56 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The House</title>
<link rel="shortcut icon" href="favicon.png" type="image/x-icon" />
<!-- <link href="http://fonts.googleapis.com/css?family=Neuton:regular,italic" rel="stylesheet" type="text/css" > -->
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<!-- <script src="js/libs/less-1.1.3.min.js" ></script> -->
<script src="js/libs/modernizr.custom.13520.js" ></script>
<script src="js/libs/min/soundmanager2-nodebug-jsmin-min.js" ></script>
<script>
Modernizr.load({
test: Modernizr.borderradius && Modernizr.opacity && Modernizr.csstransforms,
yep : [
//'js/libs/soundmanager2-nodebug-jsmin.js',
'js/libs/jquery-1.7.min.js',
'js/libs/jquery.animate-colors-min.js',
'js/libs/min/preloadCssImages.jQuery_v5-min.js',
'js/libs/min/jstorage-min.js',
'js/libs/min/jquery.spritely-0.6-min.js',
'js/libs/min/jquery-ui-1.8.11.draggable.min-min.js',
'js/libs/min/jquery.transit.min-min.js',
'js/libs/min/jquery.idle-timer.min.js',
'js/min/dialogue_box-min.js',
'js/min/tooltip-min.js',
'js/min/text_cloud-min.js',
'js/min/data-min.js',
'js/min/settings-min.js',
'js/min/audio-min.js',
'js/min/items-min.js',
'js/min/view-min.js',
'js/min/room-min.js',
'js/min/scenes-min.js',
'js/min/npcs-min.js',
'js/min/game-min.js'
],
nope: [
'js/libs/jquery-1.7.min.js',
'js/min/old_browser.js'
]
});
</script>
</head>
<body oncontextmenu="return false">
<div id="return"></div>
<div id="the_game">
<div id="information" style="
color:#888;
width: 320px;
position:absolute;
left:50%;
margin-left:-160px;
top:10%;
text-align:center
">
<p>You have to enable javascript on your browser in order to play The House: <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="How to enable javascript?">see instructions</a> </p>
<p><strong>Note:</strong>You'll also need <em>the latest browser version</em>. Otherwise the game won't start!</p>
</div>
</div>
<div id="wrap">
<div id="settings">
<ul>
<li id="settings_reset" data-info="Start from the beginning.">reset game</li>
</ul>
</div>
<div id="items">
<div id="button"></div>
</div>
<div id="switch_sound" class="on"></div>
</div>
<div id="lightbox">
<div class="close"></div>
</div>
<div id="author">
<div class="btn">i</div>
<p>Game made by <a target="_blank" href="http://arturkot.pl">Artur Kot</a></p>
<p>Follow me on <a target="_blank" href="http://twitter.com/arturkot">Twitter</a></p>
<p>Learn more about the game on <a target="_blank" href="http://github.com/arturkot/the-house-game">Github</a></p>
</div>
<script>
//clear
var container = document.getElementById('the_game'),
remove_information = document.getElementById('information');
container.removeChild(remove_information);
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34088292-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>
</script>
</body>
</html>