treeview无论点击哪个,只有一个节点展开,其它关闭。

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="">
<style type="text/css"> body { background:#799AE1; margin:0px; font:normal 12px 宋体; }
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#215DC6; text-decoration:none; }
a:hover { color:#428EFF }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<script language="javascript">
function menuShow(obj,maxh,obj2)
{
if(obj.style.pixelHeight<maxh)
{
obj.style.pixelHeight+=maxh/20;
obj.filters.alpha.opacity+=5;
obj2.background="images/title_bg_hide.gif";
if(obj.style.pixelHeight==maxh/10)
obj.style.display='block';
myObj=obj;
myMaxh=maxh;
myObj2=obj2;
setTimeout('menuShow(myObj,myMaxh,myObj2)','5');
}
}
function menuHide(obj,maxh,obj2)
{
if(obj.style.pixelHeight>0)
{
if(obj.style.pixelHeight==maxh/20)
obj.style.display='none';
obj.style.pixelHeight-=maxh/20;
obj.filters.alpha.opacity-=5;
obj2.background="images/title_bg_show.gif";
myObj=obj;
myMaxh=maxh
myObj2=obj2;
setTimeout('menuHide(myObj,myMaxh,myObj2)','5');
}
else
if(whichContinue)
whichContinue.click();
}
function menuChange(obj,maxh,obj2)
{
if(obj.style.pixelHeight)
{
menuHide(obj,maxh,obj2);
whichOpen='';
whichcontinue='';
}
else
if(whichOpen)
{
whichContinue=obj2;
whichOpen.click();
}
else
{
menuShow(obj,maxh,obj2);
whichOpen=obj2;
whichContinue='';
}
}
</script>
<base target="left">
</head>
<body>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="42" valign="bottom">
<img src="images/back.gif" width="160" height="30">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" οnmοuseοver="this.className='menu_title2';" οnmοuseοut="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle1" οnclick="menuChange(menu1,80,menuTitle1);">
<span>基本选项</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="FILTER:alpha(Opacity=100);OVERFLOW:hidden;WIDTH:158px;HEIGHT:80px"
id="menu1">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="setLogo.aspx" target="right" οnfοcus="this.blur();">设置Logo</a>
</td>
</tr>
<tr>
<td height="20">
<a href="setHotNews.aspx" target="right" οnfοcus="this.blur();">增加热点信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="HotNewsForSearch.aspx" target="right" οnfοcus="this.blur();">查看热点信息</a> 
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<script language="javascript">
var whichOpen=menuTitle1;
var whichContinue='';
</script>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" οnmοuseοver="this.className='menu_title2';" οnmοuseοut="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle2" οnclick="menuChange(menu2,120,menuTitle2);">
<span>信息设置</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu2">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="searchInfo.aspx?type=0" target="right" οnfοcus="this.blur();">查看未审核的信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="searchInfo.aspx?type=1" target="right" οnfοcus="this.blur();">查看已审核信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="put.aspx" target="right" οnfοcus="this.blur();">固定位置设置</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">信体过滤规则</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">附件过滤规则</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" οnmοuseοver="this.className='menu_title2';" οnmοuseοut="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle3" οnclick="menuChange(menu3,120,menuTitle3);">
<span>系统管理</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu3">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">用户管理</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">进程管理</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">主机运行状态</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">数据备份</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">垃圾目录管理</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" οnmοuseοver="this.className='menu_title2';" οnmοuseοut="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle4" οnclick="menuChange(menu4,140,menuTitle4);">
<span>系统统计</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu4">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">IP过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">信封过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">信头过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">信体过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">附件过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="http://qybbs.net" οnfοcus="this.blur();">动态规则统计</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" background="images/title_bg_quit.gif">
<a href="managerLogin.aspx" target="_parent">
<span> 退出系统</span></a>
</td>
</tr>
</table>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值