博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
js隐藏导航菜单
阅读量:4054 次
发布时间:2019-05-25

本文共 4131 字,大约阅读时间需要 13 分钟。

<!--导航全部展开 -->

<!--<SCRIPT language=JavaScript>
function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
if (whichEl.style.display == "none")
{
 eval("submenu" + sid + ".style.display=/"/";");
}
else
{
 eval("submenu" + sid + ".style.display=/"none/";");
}
}
</SCRIPT> -->
<!--导航全部展开 -->
<!--导航点击一个展开其余关闭 -->
<SCRIPT language=javascript1.2>
function showsubmenu(sid)
{
for(i=1;i<=11;i++){
document.getElementById("submenu"+i).style.display="none";
document.getElementById("submenu"+sid).style.display="block";
}
}
</SCRIPT>
<!--导航点击一个展开其余关闭 -->

<body bgcolor="16ACFF">

<table width="98%" border="0" cellpadding="0" cellspacing="0" background="Images/tablemde.jpg">

<!--系统设置 -->

  <tr>
    <td height="5" background="Images/tableline_top.jpg" bgcolor="#16ACFF"></td>
  </tr>
  <tr>
    <td><TABLE width="97%" border=0 align=right cellPadding=0 cellSpacing=0 class=leftframetable>
      <TBODY>
        <TR>
          <TD height="25" style="background:url(Images/left_tt.gif) no-repeat">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <TD width="20"></TD>
                <TD class=STYLE1 style="CURSOR: hand" οnclick=showsubmenu(1); height=25>系统设置</TD>
              </tr>
            </table></TD>
          </TR>
        <TR>
          <TD><TABLE id=submenu1 cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
                <TR>
                  <TD width="2%"><IMG src="Images/closed.gif"></TD>
                  <TD height=23><A href="right.html"  target=main>基本信息</A></TD>
                </TR>
                <TR>
                  <TD><IMG src="Images/closed.gif"></TD>
                  <TD height=23><A href="admin_manage.php" target=main>管理员管理</A> </TD>
                </TR>
    <tr>
                  <td width="2%"><img src="Images/closed.gif" /></td>
                  <td height="23"><a href="admin_add.php"  target="main">添加管理员</a>┆<a  href="admin_privilege_manage.php"  target="main">权限管理</a></td>
                </tr>
              </TBODY>
          </TABLE></TD>
        </TR>
      </TBODY>
    </TABLE></td>
  </tr>
 
  <tr>
    <td height="5" background="Images/tableline_bottom.jpg" bgcolor="#9BC2ED"></td>
  </tr>

<tr>

    <td height="5" background="Images/tableline_top.jpg" bgcolor="#16ACFF"></td>
  </tr>
  <tr>
    <td><TABLE width="97%" border=0 align=right cellPadding=0 cellSpacing=0 class=leftframetable>
      <TBODY>
        <TR>
          <TD height="25" style="background:url(Images/left_tt.gif) no-repeat">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <TD width="20"></TD>
                <TD class=STYLE1 style="CURSOR: hand" οnclick=showsubmenu(2); height=25>系统设置</TD>
              </tr>
            </table></TD>
          </TR>
        <TR>
          <TD><TABLE id=submenu2 cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
                <TR>
                  <TD width="2%"><IMG src="Images/closed.gif"></TD>
                  <TD height=23><A href="right.html"  target=main>基本信息</A></TD>
                </TR>
                <TR>
                  <TD><IMG src="Images/closed.gif"></TD>
                  <TD height=23><A href="admin_manage.php" target=main>管理员管理</A> </TD>
                </TR>
    <tr>
                  <td width="2%"><img src="Images/closed.gif" /></td>
                  <td height="23"><a href="admin_add.php"  target="main">添加管理员</a>┆<a  href="admin_privilege_manage.php"  target="main">权限管理</a></td>
                </tr>
              </TBODY>
          </TABLE></TD>
        </TR>
      </TBODY>
    </TABLE></td>
  </tr>
 
  <tr>
    <td height="5" background="Images/tableline_bottom.jpg" bgcolor="#9BC2ED"></td>
  </tr>

..3...

..4..

..5...

....

 

....9.

..10..

<tr>

    <td height="5" background="Images/tableline_top.jpg" bgcolor="#16ACFF"></td>
  </tr>
  <tr>
    <td><TABLE width="97%" border=0 align=right cellPadding=0 cellSpacing=0 class=leftframetable>
      <TBODY>
        <TR>
          <TD height="25" style="background:url(Images/left_tt.gif) no-repeat">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <TD width="20"></TD>
                <TD class=STYLE1 style="CURSOR: hand" οnclick=showsubmenu(11); height=25>系统设置</TD>
              </tr>
            </table></TD>
          </TR>
        <TR>
          <TD><TABLE id=submenu11 cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
                <TR>
                  <TD width="2%"><IMG src="Images/closed.gif"></TD>
                  <TD height=23><A href="right.html"  target=main>基本信息</A></TD>
                </TR>
                <TR>
                  <TD><IMG src="Images/closed.gif"></TD>
                  <TD height=23><A href="admin_manage.php" target=main>管理员管理</A> </TD>
                </TR>
    <tr>
                  <td width="2%"><img src="Images/closed.gif" /></td>
                  <td height="23"><a href="admin_add.php"  target="main">添加管理员</a>┆<a  href="admin_privilege_manage.php"  target="main">权限管理</a></td>
                </tr>
              </TBODY>
          </TABLE></TD>
        </TR>
      </TBODY>
    </TABLE></td>
  </tr>
 
  <tr>
    <td height="5" background="Images/tableline_bottom.jpg" bgcolor="#9BC2ED"></td>
  </tr>

转载地址:http://veoci.baihongyu.com/

你可能感兴趣的文章
Windows CE下USB摄像头驱动开发(以OV511为例,附带全部源代码以及讲解) [转]
查看>>
出现( linker command failed with exit code 1)错误总结
查看>>
iOS开发中一些常见的并行处理
查看>>
iOS获取手机的Mac地址
查看>>
ios7.1发布企业证书测试包的问题
查看>>
如何自定义iOS中的控件
查看>>
iOS 开发百问
查看>>
Mac环境下svn的使用
查看>>
github简单使用教程
查看>>
如何高效利用GitHub
查看>>
环境分支-git版本管理
查看>>
uni-app 全局变量
查看>>
js判断空对象的几种方法
查看>>
java 不用递归写tree
查看>>
springboot2 集成Hibernate JPA 用 声明式事物
查看>>
fhs-framework jetcache 缓存维护之自动清除缓存
查看>>
SpringBoot 动态编译 JAVA class 解决 jar in jar 的依赖问题
查看>>
fhs-framework springboot mybatis 解决表关联查询问题的关键方案-翻译服务
查看>>
ZUUL2 使用场景
查看>>
Spring AOP + Redis + 注解实现redis 分布式锁
查看>>