-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.html
More file actions
169 lines (164 loc) · 4.89 KB
/
index.html
File metadata and controls
169 lines (164 loc) · 4.89 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> 网络拓朴图</title>
<style type="text/css">
html,body{
overflow:hidden;
height:100%;
margin:0;
padding:0;
/*font:14px/1.8 Georgia, Arial, Simsun;*/
font:14px/1.8 Arial,Microsoft YaHei,黑体,宋体,sans-serif;
}
html{
_padding:110px 0;
}
#bd{
position:absolute;
top:0;
right:0;
left:0;
bottom:0;
overflow:hidden;
width:100%;
_height:100%;
}
#side{
position:absolute;
top:0;
left:0;
bottom:0;
overflow:hidden;
width:10%;
_height:100%;
background:#666;
box-shadow: 0 0 1px;
}
#main{
position:absolute;
_position:static;
top:0;
right:0;
bottom:0;
left:10.05%;
overflow:hidden;
_overflow:hidden;
_height:100%;
_margin-left:210px;
background:#666;
}
/*#side1, #side2, #side3{
display:none;
}*/
.topo{
display:block;
width:100%;
font-size: 20px;
font-weight: 500;
text-align:center;
color:#040404;
margin:0;
border-bottom: 2px solid #3E3D3D;
cursor: pointer;
background: #E4E0E0;
border-radius: 0px 0px 7px 7px;
}
/*.topo:hover{
color:;
}*/
.list{
padding-left: 0px;
margin-top: 0px;
}
.list li{
text-align:center;
list-style: none;
border-radius:5px;
background-color: #B4B1B1;
margin-bottom:5px;
width:100%;
cursor: pointer;
}
.list li:hover{
background: #D5D0D0;
}
.list li.focus{
background-color: #D5D0D0;
box-shadow: 0px 0px 3px inset;
}
/* 与布局无关,一些说明性内容样式 */
.tit-layout{margin:0.1% 0 0;font-size:15px;text-align:center;}
.copyright{font-weight:bold;text-align:center;}
#feature{width:200%;line-height:4;}
#feature .hd{padding:20px 15px;}
#feature .hd h2{margin:0;font-size:16px;}
#feature .bd ol{margin-top:0;}
#feature .bd h3{margin:0;padding:0 15px;font-size:14px;}
#feature .ft{padding:10px 15px 30px;}
</style>
</head>
<body>
<div id="bd">
<div id="side">
<div>
<span id = "topo1" class = "topo">等级划分</span>
<ul id = "side1" class = "list">
<li id = "topo-1.html">一级行政</li>
<li id = "topo-2.html">二级区域</li>
<li id = "topo-3.html">三级资产</li>
<li id = "topo-4.html">四级路由</li>
<li id = "topo-5.html">五级交换机</li>
<li id = "topo-6.html">六级交换机</li>
</ul>
</div>
<!--<div>
<span id = "topo2" class = "topo">区域拓朴</span>
<ul id = "side2" class = "list">
<li id = "topo-1.html">一级路由</li>
<li id = "topo-2.html">二级路由</li>
<li id = "topo-3.html">三级路由</li>
<li id = "topo-4.html">四级路由</li>
<li id = "topo-5.html">五级交换机</li>
<li id = "topo-6.html">六级交换机</li>
</ul>
</div>
<div>
<span id = "topo3" class = "topo">资产拓朴</span>
<ul id = "side3" class = "list">
<li id = "topo-1.html">一级路由</li>
<li id = "topo-2.html">二级路由</li>
<li id = "topo-3.html">三级路由</li>
<li id = "topo-4.html">四级路由</li>
<li id = "topo-5.html">五级交换机</li>
<li id = "topo-6.html">六级交换机</li>
</ul>
</div>-->
</div>
<div id="main">
<iframe src = 'topo-6.html' id = "iframes" frameborder="no" marginleft="0" height = 100% width = 100%></iframe>
</div>
</div>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="js/jtopo-0.4.8-min.js"></script>
<script type="text/javascript">
$(function(){
/*$("#topo1").click(function(){
$("#side1").toggle();
$("#main iframe").attr("src", "topo-6.html");
});
$("#topo2").click(function(){
$("#side2").toggle();
});
$("#topo3").click(function(){
$("#side3").toggle();
});*/
$("#side").on("click", "li", function(e){
srcc = e.target.id;
$("#main iframe").attr("src", srcc);
$(this).addClass('focus').siblings().removeClass();
});
});
</script>
</body>
</html>