TreeView whichever is clicked, only one node expands and the other closes.

Source: Internet
Author: User

<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 Arial;}
Table {border:0px;}
TD {Font:normal 12px song body;}
img {vertical-align:bottom; border:0px;}
A {font:normal 12px song body; 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; Kground: #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&LT;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" >
<body>
<table cellpadding= "0" cellspacing= "0" width= "158" >
<tr style= "Cursor:hand" >
&LT;TD height= "valign=" "Bottom" >
</td>
</tr>
</table>
<table cellpadding= "0" cellspacing= "0" width= "158" >
<tr style= "Cursor:hand" >
&LT;TD height= "class=" Menu_title "onmouseover=" this.classname= ' menu_title2 '; "onmouseout=" This.className= ' menu _title '; '
Background= "Images/title_bg_show.gif" id= "MenuTitle1" onclick= "Menuchange (menu1,80,menutitle1);" >
<span> Basic Options </span>
</td>
</tr>
<tr>
<td>
<div class= "Sec_menu" style= Filter:alpha (opacity=100); width:158px; height:80px "
Id= "Menu1" >
<table cellpadding= "0" cellspacing= "0" align= "center" width= "135" style= "position:relative"; top:10px ">
<tr>
&LT;TD height= ">"
<a href= "setlogo.aspx" target= "right" onfocus= "This.blur" (); > Settings logo</a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "sethotnews.aspx" target= "right" onfocus= "This.blur" (); > Add hotspot Information </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "hotnewsforsearch.aspx" target= "right" onfocus= "This.blur" (); > View hotspot Information </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" >
&LT;TD height= "class=" Menu_title "onmouseover=" this.classname= ' menu_title2 '; "onmouseout=" This.className= ' menu _title '; '
Background= "Images/title_bg_show.gif" id= "MenuTitle2" onclick= "Menuchange (menu2,120,menutitle2);" >
<span> Information Settings </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>
&LT;TD height= ">"
<a href= "searchinfo.aspx?type=0" target= "right" onfocus= "This.blur" (); > View information that is not audited </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "searchinfo.aspx?type=1" target= "right" onfocus= "This.blur" (); > View audited Information </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "put.aspx" target= "right" onfocus= "This.blur" (); > Fixed position setting </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Letter Body Filtration Rules </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Accessories Filter Rules </a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding= "0" cellspacing= "0" width= "158" >
<tr style= "Cursor:hand" >
&LT;TD height= "class=" Menu_title "onmouseover=" this.classname= ' menu_title2 '; "onmouseout=" This.className= ' menu _title '; '
Background= "Images/title_bg_show.gif" id= "MenuTitle3" onclick= "Menuchange (menu3,120,menutitle3);" >
<span> System Management </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>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > User Management </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Process Management </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Host Running Status </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Data Backup </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Garbage Directory Management </a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding= "0" cellspacing= "0" width= "158" >
<tr style= "Cursor:hand" >
&LT;TD height= "class=" Menu_title "onmouseover=" this.classname= ' menu_title2 '; "onmouseout=" This.className= ' menu _title '; '
Background= "Images/title_bg_show.gif" id= "MenuTitle4" onclick= "Menuchange (menu4,140,menutitle4);" >
<span> System Statistics </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>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" >ip Filtration Statistics </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Envelope Filter Statistics </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Letter Head Filtration Statistics </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Letter Filter Statistics </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Accessories Filtration Statistics </a>
</td>
</tr>
<tr>
&LT;TD height= ">"
<a href= "http://qybbs.net" onfocus= "This.blur ();" > Dynamic Rule Statistics </a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding= "0" cellspacing= "0" width= "158" >
<tr style= "Cursor:hand" >
&LT;TD height= "class=" Menu_title "background=" "Images/title_bg_quit.gif" >
<a href= "managerlogin.aspx" target= "_parent" >
<span> Exit System </span></a>
</td>
</tr>
</table>
</body>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.