日期:2014-05-17  浏览次数:20812 次

与javascript有关
<body bgcolor="#FFFFFF" leftmargin="0"
  background="images/menu_left_back.gif" topmargin="0" marginwidth="0"
 marginheight="0" scroll="no">
  <table width="199" height="169" border="0" align="left"
cellpadding="0" cellspacing="0">
<tr>
<td height="38">

</td>
</tr>
<tr>
<td align="center" valign="top">
<script language="javascript" id="clientEventHandlersJS">

//<!--
var number=2;

function LMYC() {
var lbmc;
//var treePic;
  for (i=1;i<=number;i++) {
  lbmc = eval('LM' + i);
  //treePic = eval('treePic'+i);
  //treePic.src = 'images/file.gif';
  lbmc.style.display = 'none';
  }
}
 
function ShowFLT(i) {
  lbmc = eval('LM' + i);
  //treePic = eval('treePic' + i)
  if (lbmc.style.display == 'none') {
  LMYC();
  //treePic.src = 'images/nofile.gif';
  lbmc.style.display = '';
  }
  else {
  //treePic.src = 'images/file.gif';
  lbmc.style.display = 'none';
  }
}
//-->
  </script>
<tr>
<td style="PADDING-LEFT: 20px" background height="23" >
<!--<img height="9" src="imagesjs/bit05.gif" width="8" align="absMiddle">-->
<a title="修改密码" href="modifyPasswd.jsp" target="WORK">
修改密码</a>
</td>
</tr>
<tr id="LM1" style="DISPLAY: none">  
</tr>

<tr>
<td style="PADDING-LEFT: 20px" background height="23">
<!--<img height="9" src="imagesjs/bit05.gif" width="8"
align="absMiddle">-->
<a onclick="javascript:ShowFLT(2)" href="javascript:void(null)" >
水果管理</a>
</td>
</tr>
<tr id="LM2" style="DISPLAY: none">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="23">
<tr>
<td style="PADDING-LEFT: 40px" height="23">
<!-- <img height="7" src="imagesjs/bit06.gif" width="8"
align="absMiddle"> -->
<a title="添加水果" href="insertFruit.jsp" target="WORK">
添加水果</a>
</td>
</tr>
<tr>
<td background height="3"></td>
</tr>

<tr>
<td style="PADDING-LEFT: 40px" height="23">
<!--<img height="7" src="imagesjs/bit06.gif" width="8"
align="absMiddle">-->
<a title="查询/修改/删除" href="queryFruit.jsp" target="WORK">
查询/修改/删除</a>
</td>
</tr>
</table>
</td>
</tr>


</table>

</body>
</html>
每次点击水果管理时,列出下面的子菜单 添加水果信息和查询修改删除时,这个水果管理这四个字就是位置