类似QQ的Web菜单

 通过js可以实现的,由于上传附件没有上传上去,所以只能添加代码了,没有图片,自己设置图片好了,不影响你测试
<html>
<head>
<script language="JavaScript">
scores 
= new Array(20);
var numTotal = 0;
NS4 
= (document.layers) ? 1 : 0;
IE4 
= (document.all) ? 1 : 0;
ver4 
= (NS4 || IE4) ? 1 : 0;
if (ver4) {
    
with(document) {
        write(
"<STYLE TYPE='text/css'>");
        
if (NS4) {
            write(
".parent {position:absolute; visibility:visible}");
            write(
".child {position:absolute; visibility:visible}");
            write(
".regular {position:absolute; visibility:visible}")
        }
 else {
            write(
".child {display:none}")
        }

        write(
"</STYLE>");
    }

}

function getIndex(el) {
    ind 
= null;
    
for (i = 0; i < document.layers.length; i++{
        whichEl 
= document.layers[i];
        
if (whichEl.id == el) {
            ind 
= i;
            
break;
        }

    }

    
return ind;
}

function arrange() {
    nextY 
=
        document.layers[firstInd].pageY
            
+ document.layers[firstInd].document.height;
    
for (i = firstInd + 1; i < document.layers.length; i++{
        whichEl 
= document.layers[i];
        
if (whichEl.visibility != "hide"{
            whichEl.pageY 
= nextY;
            nextY 
+= whichEl.document.height;
        }

    }

}

function initIt() {
    
if (!ver4)
        
return;
    
if (NS4) {
        
for (i = 0; i < document.layers.length; i++{
            whichEl 
= document.layers[i];
            
if (whichEl.id.indexOf("Child"!= -1)
                whichEl.visibility 
= "hide";
        }

        arrange();
    }
 else {
        divColl 
= document.all.tags("DIV");
        
for (i = 0; i < divColl.length; i++{
            whichEl 
= divColl(i);
            
if (whichEl.className == "child")
                whichEl.style.display 
= "none";
        }

    }

}

function expandIt(el) {
    
if (!ver4)
        
return;
    
if (IE4) {
        whichEl1 
= eval(el + "Child");
        
for (i = 1; i <= numTotal; i++{
            whichEl 
= eval(scores[i] + "Child");
            
if (whichEl != whichEl1) {
                whichEl.style.display 
= "none";
            }

        }

        whichEl1 
= eval(el + "Child");
        
if (whichEl1.style.display == "none"{
            whichEl1.style.display 
= "block";
        }
 else {
            whichEl1.style.display 
= "none";
        }

    }
 else {
        whichEl 
= eval("document." + el + "Child");
        
for (i = 1; i <= numTotal; i++{
            whichEl 
= eval("document." + scores[i] + "Child");
            
if (whichEl != whicāhEl1) {
                whichEl.visibility 
= "hide";
            }

        }

        
if (whichEl.visibility == "hide"{
            whichEl.visibility 
= "show";
        }
 else {
            whichEl.visibility 
= "hide";
        }

        arrange();
    }

}

onload 
= initIt;
</script>
<title>henanmobile</title>
<link href="css/css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=GBK"><style type="text/css">
<!--
body 
{
    margin-left
: 0px;
    margin-top
: 0px;
    background-image
: url();
    background-color
: #4264A2;
}

.style1 
{color: #FFFFFF}
.style2 
{border: none; font-size: 12px;}
-->
</style>
<style type="text/css">
body 
 
{
    scrollbar-face-color
: #C3D5FD;
    scrollbar-highlight-color
: #ffffff;
    scrollbar-shadow-color
: #ffffff;
    scrollbar-arrow-color
: #4D6185;
    scrollbar-base-color
: #6699ff;
    scrollbar-dark-shadow-color
: #6699ff;
    margin-right
: 0px;
    margin-bottom
: 0px;
 
}

</style>
<SCRIPT language=javascript1.2>
function JyDownShowList(id)
{
whichEl 
= eval("JyDownList"+id);
if (whichEl.style.display == "none")
{eval("JyDownList"+id+".style.display="";");}
else
{eval("JyDownList"+id+".style.display="none";");}
}

</SCRIPT>

<link href="css/css2.css" rel="stylesheet" type="text/css">
</head>

<body>
<div align="left">
  
<table width="140" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    
<tr>
      
<td valign="top">
        
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          
<tr>
            
<td width="169" height="3" align="center" bgcolor="#4264A2"></td>
          
</tr>
          
<tr>
            
<td height="3" align="center" bgcolor="#859ECD"></td>
          
</tr>
          
<tr>
            
<td align="center" valign="top" bgcolor="#4264A2" class="wt">
              
<div class="parent" id="KB1Parent">
                
<div class="parent" id="KB1Parent" onclick="expandIt('KB1'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0" bgcolor="#C1C1C1">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#22320;&#22270;&#27983;&#35272;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">
                    
</td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB1Child"> 
                  
<p><href="gis/index.html" target="mainFrame"><img src="images/001.jpg" width="44" height="44" border="0" style="cursor:hand"><br>
                    
<br>
                  
</a><span class="css">GIS</span><br>
                  
<br>
                        
<href="help/index.htm" target="mainFrame"><img src="images/010.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                        
<br>
                        
<span class="css">&#24110;&#21161;</span><br>
                  
</p>
                
</div>
                
<div class="parent" id="KB2Parent" onclick="expandIt('KB2'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;CQT</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">                        </td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB2Child"> <href="cqt/cqt_insert.htm" target="mainFrame"><br>
                      
<img src="images/015.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br><br>
                      
<span class="css">CQT&#25968;&#25454;&#24405;&#20837;</span><br><br>
                      
<href="cqt/cqt_hz_query.htm" target="mainFrame"><img src="images/018.jpg" width="44" height="44" border="0" style="cursor:hand"></a><span class="css"> <br>
                      
<br>
                CQT &#25968;&#25454;&#27719;&#24635;&#32479;&#35745; 
</span><br><br>
                
<href="cqt/cqt_query.htm" target="mainFrame"><img src="images/005.jpg" width="44" height="44" border="0"></a><br>
                
<br>
                
<span class="css">CQT &#25968;&#25454;&#26597;&#35810; </span><br><br>
                
</div>
                
<div class="parent" id="KB3Parent" onclick="expandIt('KB3'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;DT</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">                        </td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB3Child"> <href="dt/dt_upload.htm" target="mainFrame"><br>
                      
<img src="images/014.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br><br>
                      
<span class="css">DT&#25991;&#20214;&#19978;&#36733;</span><br><br>
                      
<href="dt/dt_down.htm" target="mainFrame"><img src="images/031.jpg" width="44" height="44" border="0"></a><br>
                      
<br>
                      
<span class="css">DT&#25991;&#20214;&#26597;&#35810;</span><br><br>
                
</div>
                
<div class="parent" id="KB4Parent" onclick="expandIt('KB4'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0" bgcolor="#C1C1C1">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#32593;&#32476;&#37197;&#32622;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">                        </td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB4Child"> 
                  
<p><href="conf/tlpjch/frame.html" target="mainFrame"><br>
                        
<img src="images/006.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                        
<br>
                        
<span class="css">&#21516;&#37051;&#39057;&#26816;&#26597;&#21450;<br>
                        &#20999;&#25442;&#20851;&#31995;
</span><br>
                        
<br>
                        
<href="conf/pdshyqk/fre.html" target="mainFrame"><img src="images/029.jpg" width="44" height="44" border="0" style="cursor:hand"></a> <span class="css"><br>
                        
<br>
&#39057;&#28857;&#20351;&#29992;&#24773;&#20917;
</span><br>
  
<br>
                  
<href="conf/dsModify/frame.html" target="mainFrame"><img src="images/013.jpg" width="44" height="44" border="0"></a><br>
                  
<br>
                  
<span class="css">&#21442;&#25968;&#21464;&#21160;&#25253;&#21578;</span> <br>
                  
<br>
                  
<href="conf/xqpzhcshmx/dacell.html" target="mainFrame"><img src="images/003.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                  
<br>
                  
<span class="css">&#23567;&#21306;&#37197;&#32622;&#21442;&#25968;&#26126;&#32454;</span><br>
                  
<br>
                  
<href="conf/chznl/bear.html" target="mainFrame"><img src="images/012.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                  
<br>
                  
<span class="css">&#25215;&#36733;&#33021;&#21147;</span><br>
                  
<br>
                  
<href="conf/trafficPer/trraffic.html" target="mainFrame"><img src="images/026.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                  
<br>
                  
<span class="css">&#26080;&#32447;&#21033;&#29992;&#29575;</span><br>
                  
<br>
                  
<href="conf/trafficPer/ratio.html" target="mainFrame"><img src="images/030.jpg" width="44" height="44" border="0" style="cursor:hand"></a> <br>
                  
<br>
                  
<span class="css">&#36733;&#39057;&#21033;&#29992;&#29575;</span><br>
                  
<br>
                  
<href="conf/trafficPer/trxnumber.html" target="mainFrame"><img src="images/0044.jpg" width="46" height="45" border="0"></a> </p>
                  
<p><span class="css">&#26080;&#32447;&#32593;&#32476;&#32467;&#26500;</span><br>
                  
</p>
                
</div>
                
<div class="parent" id="KB5Parent" onclick="expandIt('KB5'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#24037;&#31243;&#31649;&#29702;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">                        </td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB5Child"><br> 
                  
<href="projectCell/u_newCell.jsp" target="mainFrame"><img src="images/002.jpg" width="44" height="44" border="0" style="cursor:hand"></a><span class="css"><br>
                  
<br>
&#26032;&#24314;&#23567;&#21306;
</span><br>
<br>
<href="projectCell/u_newCell_search.jsp" target="mainFrame"><img src="images/0045.jpg" width="46" height="45" border="0"></a><br>
<br> 
<span class="css">&#26032;&#24314;&#23567;&#21306;&#26597;&#35810;</span><br>
<br>
                
<href="projectCell/u_moveCell.html" target="mainFrame"><img src="images/028.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                
<br>
                
<span class="css">&#25644;&#36801;&#23567;&#21306; </span><br><br>
                
<href="projectCell/vestcell.html" target="mainFrame"><img src="images/025.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                
<br>
                
<span class="css">&#24402;&#23646;&#19981;&#26126;&#23567;&#21306; <br><br>
                
<href="projectCell/bouncell.html" target="mainFrame"><img src="images/003.jpg" width="44" height="44" border="0"></a></span> <br>
                
<br>
                
<span class="css">&#36793;&#30028;&#23567;&#21306; </span> <br></div>
                
<div class="parent" id="KB6Parent" onclick="expandIt('KB6'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#26080;&#32447;&#32593;&#32476;&#24615;&#33021;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">
                        
</td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB6Child"> 
                  
<p><href="perf/telecount/day24telecount.jsp" target="mainFrame"><br>
                        
<img src="images/032.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                        
<br>
                        
<span class="css">&#35805;&#21153;&#37327;</span><br>
                        
<br>
                        
<href="perf/mangshi/mangshi.jsp" target="mainFrame"><img src="images/0039.jpg" width="44" height="44" border="0"></a>                      <br>
                        
<br>
                        
<span class="css">&#24537;&#26102;&#35805;&#21153;&#20998;&#26512;</span><br>
                        
<br>
                        
<href="perf/xiaoqukuorong/xiqukuorong.jsp" target="mainFrame"><img src="images/009.jpg" width="44" height="44" border="0"></a>                      <br>
                        
<br>
                        
<span class="css">&#23567;&#21306;&#25193;&#23481;&#21442;&#32771;</span><br>
                        
<br>
                        
<href="perf/cellist/cellist.jsp" target="mainFrame"><img src="images/004.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                        
<br>
                        
<span class="css">&#23567;&#21306;&#26126;&#32454;</span><br>
                        
<br>
                        
<href="perf/dropcall/dropcall.jsp" target="mainFrame"><img src="images/017.jpg" width="44" height="44" border="0"></a>                      <br>
                        
<br>
                        
<span class="css">&#25481;&#35805;&#20998;&#31867;&#32479;&#35745;</span>                    <br>
                        
<br>
                        
<href="perf/statguide/cellbydate.jsp" target="mainFrame"><img src="images/011.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                        
<br>
                  
<span class="css">&#32479;&#35745;&#25351;&#26631;</span> <br>
                  
<br>
                  
<href="perf/morninigalarm/morningalarm.jsp" target="mainFrame"><img src="images/019.jpg" width="44" height="44" border="0"></a> <br>
                  
<br>
                  
<span class="css">&#26089;&#39044;&#35686;</span></p>
                
</div>
                
<div class="parent" id="KB7Parent" onclick="expandIt('KB7'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0" bgcolor="#C1C1C1">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#21578;&#35686;&#25968;&#25454;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">
                        
</td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB7Child"><br> 
                  
<href="alarm/alarm_break_srh.htm" target="mainFrame"><img src="images/023.jpg" width="44" height="44" border="0" style="cursor:hand"></a><span class="css"><br>
                  
<br>
&#26029;&#31449;&#32479;&#35745;
</span><br><br>
                
<href="alarm/alarm_break_list.htm" target="mainFrame"><img src="images/022.jpg" width="44" height="44" border="0"></a> <br><br>
                
<span class="css">&#26029;&#31449;&#26126;&#32454; </span><br><br>
                
<href="alarm/alarm_inte_list.htm" target="mainFrame"><img src="images/016.jpg" width="44" height="44" border="0"></a> <br><br>
                
<span class="css">&#24178;&#25314;&#23567;&#21306;&#26126;&#32454; </span><br><br>
                
<href="alarm/alarm_diss_list.htm" target="mainFrame"><img src="images/021.jpg" width="44" height="44" border="0"></a> <br><br>
                
<span class="css">&#21578;&#35686;&#19987;&#39064;</span><br><br>
                
</div>
                
<div class="parent" id="KB8Parent" onclick="expandIt('KB8'); return false">  <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0" bgcolor="#C1C1C1">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#65331;&#65329;&#65324;&#25253;&#21578;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">
                        
</td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB8Child"><br> 
                  
<href="sql/cell_qual_srh.jsp" target="mainFrame"><img src="images/0035.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                  
<br>
                      
<span class="css">Cell Qual&#25253;&#21578;</span>                  <br><br>
                      
<href="sql/trx_qual_srh.jsp" target="mainFrame"><img src="images/0036.jpg" width="44" height="44" border="0"></a> <br><br>
                      
<span class="css">TRX Qual &#25253;&#21578;</span><br><br>
                      
<href="sql/handover_srh.jsp" target="mainFrame"><img src="images/0037.jpg" width="44" height="44" border="0"></a><br><br>
                  
<span class="css">Handover&#25253;&#21578;</span>                  <br><br>
                      
<href="sql/stat_all_srh.jsp" target="mainFrame"><img src="images/0038.jpg" width="44" height="44" border="0"></a> <br><br>
                      
<span class="css">Stat All &#25253;&#21578;</span><br>
                      
<br>
                
</div>
                
<div class="parent" id="KB9Parent" onclick="expandIt('KB9'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0" bgcolor="#C1C1C1">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#29992;&#25143;&#25237;&#35785;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">
                        
</td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB9Child"><br> 
                  
<href="advice/yhts_luru.htm" target="mainFrame"><img src="images/020.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                  
<br>
                    
<span class="css style1">&#24405;&#20837;&#21644;&#23548;&#20837;</span><br><br>
                    
<span class="style1"><href="advice/yhts_query.htm" target="mainFrame"><img src="images/017.jpg" width="44" height="44" border="0"></a> <br>
                    
<br>
                  
<span class="style2">&#26597;&#35810;&#29992;&#25143;&#25237;&#35785;</span></span> <br><br>
                
</div>
                
<div class="parent" id="KB10Parent" onclick="expandIt('KB10'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#32593;&#32476;&#35780;&#20272;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">
                        
</td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB10Child"><br> 
                  
<href="netevaluate/index.html" target="mainFrame"><img src="images/0034.jpg" width="44" height="44" border="0" style="cursor:hand"></a><br>
                  
<br>
                    
<span class="css">&#32593;&#32476;&#35780;&#20272;</span><br><br>
                
</div>
                
<div class="parent" id="KB11Parent" onclick="expandIt('KB11'); return false"> <table width="100%" height="30"  border="0" cellpadding="0" cellspacing="0">
                      
<tr>
                        
<td bgcolor="#FFFFFF"><img src="images/bj1.gif" width="10" height="10"><span class="css2">&#12288;&#31995;&#32479;&#37197;&#32622;&#31649;&#29702;</span></td>
                      
</tr>
                      
<tr>
                        
<td height="1" bgcolor="#CCCCCC">
                        
</td>
                      
</tr>
                      
                    
</table>
                
</div>
                
<div class="child" id="KB11Child">
                  
<p><href="hnm_admin/people.htm" target="mainFrame"><img src="images/0042.jpg" width="46" height="45" border="0"></a><br><br>
                    
<span class="css">&#20154;&#21592;&#31649;&#29702;</span><br><br>
                    
<href="hnm_admin/role.htm" target="mainFrame"><img src="images/0041.jpg" width="46" height="45" border="0"></a>                  <br><br>
                  
<span class="css">&#35282;&#33394;&#31649;&#29702;</span><br><br>
                  
<href="hnm_admin/privilege.htm" target="mainFrame"><img src="images/0040.jpg" width="46" height="45" border="0"></a>                  <br><br>
                  
<span class="css">&#26435;&#38480;&#31649;&#29702;</span><br><br>
                  
<href="hnm_admin/function.htm" target="mainFrame"><img src="images/0043.jpg" width="46" height="45" border="0"></a>                  <br><br>
                  
<span class="css">&#27169;&#22359;&#31649;&#29702;</span><br><br>
                  
<href="hnm_admin/modipasswd.htm" target="mainFrame"><img src="images/007.jpg" width="44" height="44" border="0"></a>                  <br><br>
                  
<span class="css">&#23494;&#30721;&#20462;&#25913;
                  
</span><br><br>
                  
<br>
                  
</p>
                
</div>
                
<script>numTotal=12;scores[1]='KB1';scores[2]='KB1';scores[3]='KB2';scores[4]='KB3';scores[5]='KB4';scores[6]='KB5';scores[7]='KB6';scores[8]='KB7';scores[9]='KB8';scores[10]='KB9';scores[11]='KB10';scores[12]='KB11';</script>
            
</div></td>
          
</tr>
      
</table></td>
     
    
</tr>
  
</table>
</div>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值