日期:2014-05-16 浏览次数:20408 次
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<style type="text/css">
*{
margin:0;
padding:0;
}
.zcl_kezhan{
width:180px;
float:left;
border-top:1px solid #B5B5B5;
}
.zcl_kezhan .zcl_kezhan_head{
width:180px;
height:32px;
float:left;
line-height:32px;
background:#EEEEEE;
text-indent:5px;
color:#323232;
font-weight:bold;
}
.zcl_kezhan li{
width:180px;
height:32px;
float:left;
border-top:1px solid #EEEEEE;
text-indent:35px;
}
.zcl_kezhan li a{
width:180px;
height:32px;
float:left;
line-height:32px;
color:#313131;
}
.zcl_kezhan li a:hover{
background:#F3F3F3;
color:#00BCF3;
text-decoration:underline;
}
.zcl_kezhan .active{
background:#F3F3F3;
color:#00BCF3;
text-decoration:underline;
}
</style>
<script type="text/javascript">
window.onload=function()
{
var ODiv=document.getElementById('zt');
var Obtn=ODiv.getElementsByTagName('a');
for(var i=0;i<Obtn.length;i++)
{
Obtn[i].index=i;
Obtn[i].onclick=function ()
{
for (var i=0;i<Obtn.length;i++)
{
Obtn[i].className='';
}
this.className='active';
};
}
}
</script>
</head>
<body>
<div id="zt" class="zcl_kezhan">
<div class="zcl_kezhan_head">
<i class="kf_hi"></i>
客房管理
</div>
<ul>
<li><a href="" class="active">添加客房</a></li>
<li><a href="">客房列表</a></li>
<li><a href="">待审核客房</a></li>
<li><a href="">客房图片管理</a></li>
</ul>
</div>
</body>
</html>
<ul>