如何显示和隐藏页面左框架

http://www.it024.com/develop/p660/A66081175.shtml

http://www.baidu.com/s?ie=gb2312&bs=%BF%F2%BC%DC%D2%B3%C3%E6%CC%D8%D0%A7+%D2%FE%B2%D8&sr=&z=&cl=3&f=8&wd=%BF%F2%BC%DC%D2%B3%C3%E6+%D2%FE%B2%D8&ct=0

<SCRIPT>
function switchSysBar(){
 if (switchPoint.innerText==3)
  {
  switchPoint.innerText=4
  document.all("frmTitle").style.display="none"
  }
 else
  {
  switchPoint.innerText=3
  document.all("frmTitle").style.display=""
  }
 }
</SCRIPT>
<BODY scroll=no ><table height="100%" cellspacing=0 cellpadding=0 width="100%" border=0>
  <tr><td height="80" colspan="3"><iframe style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 80px " name=topfram src="Top.asp" frameborder=0></iframe></td></tr>
  <tbody>
  <tr>
    <td id="frmTitle" valign=center noWrap align=middle><iframe style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 205px; HEIGHT: 100%" name=leftfram src="Left.asp" frameborder=0></iframe></td>
    <td bgcolor=#0095f9>
      <table height="100%" cellspacing=0 cellpadding=0 border=0>
        <tbody><tr bgcolor=#5F778B><td style="HEIGHT: 45%"></td></tr>
        <tr id="lbar" bgcolor=#BCCAD7>
          <td style="HEIGHT: 48" onClick=switchSysBar() onMouseOver="lbar.style.background='#F2F2F2';lbar.style.color='#000000'" onMouseOut="lbar.style.background='#BCCAD7';lbar.style.color='#FFFFFF'"><font style="FONT-SIZE: 8px; CURSOR: hand; FONT-FAMILY: Webdings"><span id=switchPoint>3</span></font></td>
        </tr><tr bgcolor=#5F778B><td style="HEIGHT: 45%"></td></tr>
        </tbody>
      </table>
    </td>
    <td style="WIDTH: 100%"><iframe id=main style="Z-INDEX: 1; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%" name=mainfram src="Main.asp" frameborder=0 scrolling=yes></iframe></td>
  </tr>
  </tbody>
</table>

转载于:https://www.cnblogs.com/wj-wangjun/archive/2007/08/13/853039.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值