demo.html
1.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="../js/jquery-1.7.1.js"></script>
<script>
// var str;
// var ff;
// $(function(){
// var _url = "../js/10.json";
// $.ajax({
// type: "GET",
// url: _url,
// dataType: "json",
// contentType: "application/json",
// success: function(res) {
// console.log(res);
// ff = res;
// fun(res)
// },
// error: function(XMLHttpRequest, textStatus, errorThrown) {
// console.log('Ajax langs.json error');
// console.log(XMLHttpRequest);
// }
// });
// })
// function fun(res){
// str = res;
// }
</script>
<style>
*{
margin: 0;
padding: 0;
}
html, body{
width: 100%;
height: 100%;
}
.programing{
width: 100%;
height: 100%;
position: absolute;
overflow: hidden;
box-sizing: border-box;
}
.record-title{
height: 60px;
position: absolute;
background-color: #999;
top: 0;
}
.console-wrap{
height: 60px;
position: absolute;
background-color: #00F;
bottom: 0;
}
.record-wrap{
padding: 60px 0;
height: 100%;
box-sizing: border-box;
}
</style>
</head>
<body>
<div class="programing">
<div class="record-title">sd</div>
<div class="record-wrap">ds</div>
<div class="console-wrap">fad</div>
</div>
</body>
</html>