-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy_op_home.html
141 lines (119 loc) · 2.91 KB
/
my_op_home.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>我的运维主页</title>
<script>
function divAppear(x) {
x.style.zIndex = "99";
}
function divDisAppear(x) {
x.style.zIndex = "-1";
}
function liAppear(x) {
x.style.paddingLeft = "3%";
x.style.paddingRight = "3%";
var z = document.getElementsByTagName("LI");
for (var i = 0; i < z.length; i++) {
var zi = z[i].className;
document.getElementsByName(zi)[0].style.zIndex = "0";
}
var y = x.className;
document.getElementsByName(y)[0].style.zIndex = "1";
}
function liDisAppear(x) {
x.style.paddingLeft = "1%";
x.style.paddingRight = "1%";
}
</script>
<style type="text/css">
html, body, h1, h2, h3, p, ol, ul, li, a {
padding: 0;
border: 0;
margin: 0;
}
.div_bottom {
position: fixed;
bottom: 0;
width: 100%;
height: 30%;
z-index: -1;
background: rgba(150, 150, 240, 0.2);
}
.div_center {
position: fixed;
top: 0;
width: 100%;
height: 99%;
z-index: 0;
}
iframe {
height: 100%;
width: 100%;
border-style: none;
}
.div_bottom ul {
vertical-align: middle;
text-align: center;
padding: 5% 0;
}
.div_bottom li {
display: inline;
padding: 5% 1%;
font-weight: bold;
background: rgba(150, 150, 240, 0.6);
}
</style>
</head>
<body>
<div class="div_bottom" onmousemove="divAppear(this)"
onmouseout="divDisAppear(this)">
<ul>
<li class="baidu" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">百度搜索</li>
<li class="fanyi" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">百度翻译</li>
<li class="opnav" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">OP导航</li>
<li class="zichan" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">资产系统</li>
<li class="zabbix" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">ZABBIX</li>
<li class="gongdan" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">工单系统</li>
<!--
<li class="appadm" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">应用管理</li>
<li class="opksso" onmousemove="liAppear(this)"
onmouseout="liDisAppear(this)">ksso首页</li>
-->
</ul>
</div>
<div class="div_center" name="baidu">
<iframe src="http://www.baidu.com/"></iframe>
</div>
<div class="div_center" name="fanyi">
<iframe src="http://fanyi.baidu.com/#auto/zh/"></iframe>
</div>
<div class="div_center" name="opnav">
<iframe src="http://qq.com/"></iframe>
</div>
<div class="div_center" name="zichan">
<iframe src="https://baidu.com/"></iframe>
</div>
<div class="div_center" name="zabbix">
<iframe src="http://baidu.com/"></iframe>
</div>
<div class="div_center" name="gongdan">
<iframe src="baidu.com/"></iframe>
</div>
<!--
<div class="div_center" name="appadm">
<iframe src="http://123.com:9000/"></iframe>
</div>
<div class="div_center" name="opksso">
<iframe src="https://123.com/"></iframe>
</div>
-->
</body>
</html>