-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
92 lines (80 loc) · 2.21 KB
/
index.html
File metadata and controls
92 lines (80 loc) · 2.21 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Layout</title>
<!--[if lte IE 8]>
<script src="js/forIE.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="css/R3layout.css">
<script src="js/R3layout.js"></script>
<style>
body,html{width:100%;height:100%;padding:0;margin:0;}
#header{
position: absolute;
top: 0;
height: 40px;
width: 100%;
}
#wrapper{
position: absolute;
top:40px;
bottom: 40px;
width: 80%;
left: 100px;
}
#wrapper-bar{
position: relative;
height: 100%;
background-color: #ccc;
}
#logo{
background-color: #32d212;
}
#content{
background-color: #fff;
}
#minimap {
background-color: #213d12;
}
#footer{
position: absolute;
height: 40px;
width: 100%;
bottom: 0;
background-color: Maroon;
}
</style>
</head>
<body>
<div id="header"></div>
<div id="wrapper">
<div id="main">
</div>
<div id="sidebar">
<div id="wrapper-bar">
<div id="logo"></div>
<div id="content"></div>
<div id="minimap"></div>
</div>
</div>
</div>
<div id="footer"></div>
<script>
var wrapper = document.getElementById('wrapper');
var main = document.getElementById('main');
var sidebar = document.getElementById('sidebar');
var k = new R3layout(wrapper,main,sidebar);
k.resizable();
k.collapsible();
var wrapper2 = document.getElementById('wrapper-bar');
var main2 = document.getElementById('content');
var sidebar3 = document.getElementById('minimap');
var w = new R3layout(wrapper2,main2,sidebar3, 'bottom');
w.resizable();
var sidebar2 = document.getElementById('logo');
var y = new R3layout(wrapper2,main2,sidebar2, 'top');
y.collapsible();
</script>
</body>
</html>