左边框架的折叠显示

<body MS_POSITIONING="GridLayout">
  <form id="Form1" method="post" runat="server">
   <table width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
    <tr>
     <td width="166" height="100%" id="leftmenu" style="WIDTH: 166px"><IFRAME style="VISIBILITY: inherit; WIDTH: 162px; HEIGHT: 100%" id="BoardLeft" name="BoardLeft"
       marginWidth="0" frameSpacing="2" marginHeight="0" src="left.aspx" frameBorder="0" noResize scrolling="yes"></IFRAME>
     </td>
     <td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
       <tr>
        <td><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0" background="images/admin_top_bg.gif">
          <tr valign="middle">
           <td width="30">
            <img src="images/admin_top_close.gif" ID="PA" alt="关闭左边管理菜单" style="CURSOR:hand" onClick="javascript:ShowMenu(PA);">
            <img src="images/admin_top_open.gif" ID="PB" alt="打开左边管理菜单" style="DISPLAY:none; CURSOR:hand"
             onClick="javascript:closeMenu(PB);">
           </td>
           <td width="503" align="center">
            <asp:Label id="lbcompany" runat="server"></asp:Label></td>
           <td width="30" align="center"><a href="login.aspx"><img src="images/gohome.gif" alt="返回后台登录口" border="0"></a></td>
           <td width="70" align="right"><a href="../index.aspx">返回首页</a>&nbsp;&nbsp;</td>
          </tr>
         </table>
        </td>
       </tr>
       <tr>
        <td align="center" width="100%" height="100%"><IFRAME style="Z-INDEX: 3; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%" id="sltpage"
          name="sltpage" frameSpacing="1" src="pro.aspx" frameBorder="0" scrolling="yes"></IFRAME>
        </td>
       </tr>
      </table>
     </td>
    </tr>
   </table>
  </form>
  <script language="javascript">
<!--
 function ShowMenu(TB)
 {
  if (TB = "PA"){
  document.all("leftmenu").style.display="none";
  document.all("PA").style.display="none";
  document.all("PB").style.display="";
  }
  
 }
 function closeMenu(TB)
 {
  if (TB = "PB"){
  document.all("leftmenu").style.display="";
  document.all("PB").style.display="none";
  document.all("PA").style.display="";
  }
 }
-->
  </script>
 </body>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值