forked from ericmandel/js9
-
Notifications
You must be signed in to change notification settings - Fork 1
/
js9_center.html
42 lines (42 loc) · 1.14 KB
/
js9_center.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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge" >
<link type="image/x-icon" rel="shortcut icon" href="./favicon.ico">
<link type="text/css" rel="stylesheet" href="js9support.css">
<link type="text/css" rel="stylesheet" href="js9.css">
<script type="text/javascript" src="js9support.min.js"></script>
<script type="text/javascript" src="js9.min.js"></script>
<script type="text/javascript" src="js9plugins.js"></script>
<style type="text/css">
body {
overflow: hidden;
}
#center{
width: 512px;
height: 540px;
position: absolute;
top:0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
</style>
<title>JS9 center</title>
</head>
<body>
<div id="center">
<div class="JS9Menubar"></div>
<div class="JS9"></div>
<div style="margin-top: 2px;"><div class="JS9Colorbar"></div></div>
</div>
<script type="text/javascript">
$(document).ready(function(){
JS9.globalOpts.postMessage = true;
JS9.globalOpts.resize = false;
});
</script>
</body>
</html>