forked from tt-acm/Spectacles.WebViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (47 loc) · 2 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
<!DOCTYPE html>
<html>
<head>
<title>vA3C Viewer</title>
<!-- local refs to libs for development. We should pull them from their respective servers in production -->
<script type="text/javascript" src="js/libs/jquery-1.9.0.js"></script>
<script type="text/javascript" src="js/libs/dat.gui.js"></script>
<link rel="stylesheet" type="text/css" href="css/datgui_styleOverride.css">
<script type="text/javascript" src="js/libs/three.js"></script>
<script type="text/javascript" src="js/libs/OrbitControls.js"></script>
<script type="text/javascript" src="js/libs/Projector.js"></script>
<script type="text/javascript" src="js/libs/stats.js"></script>
<script type="text/javascript" src="js/libs/jquery-ui.js"></script>
<!-- Application files -->
<link rel='stylesheet' type='text/css' href='css/vA3C_stylesheet.css'/>
<script type="text/javascript" src="js/VA3C_APP.js"></script>
<script type="text/javascript" src="js/APP_INIT.js"></script>
<!-- Single Page App - specific CSS -->
<style type="text/css">
body{
margin: 0px;
overflow: hidden;
font-family: 'lucida grande', Sans-Serif;
font-size: 75%;
height: 100%;
width: 100%
}
a:link {color: #787878;}
a:visited {color:#787878;}
a:hover {color: #a0a0a0;}
</style>
</head>
<body>
<div id="vA3C_output" style="position:fixed; top:0; left:0; width:100%; height:100%;"></div>
<script type="application/javascript">
window.addEventListener('resize', function(){
$("#vA3C_output").css("height",window.innerHeight.toString());
$("#vA3C_output").css("width",window.innerWidth.toString());
$("#vA3C_output").resize();
});
</script>
<div id='OpenLocalFile' class='vA3C_openFile'>
<h2>Open a local vA3C .json file</h2>
<input type='file' onclick='myVA3C.jsonLoader.clearFile(event)' onchange='myVA3C.jsonLoader.openLocalFile(event)' class='vA3C_openButton'>
</div>
</body>
</html>