当前位置:编程学习 > C#/ASP.NET >>

关于隐藏左侧导航栏的问题!!!!!!

各位兄弟帮忙看看,我在做框架的时候,当加入“middle”的时候就没有右边的“main”,当删除“middle”时右边的“main”就会在界面中出现,是什么原因,百思不得其解,所以就来麻烦下兄弟们,下面为框架代码:

<HTML>
<head>
    <title>欣晟电子文档管理系统</title>
    <META http-equiv="content-type" content="text/html; charset=gb2312">
<META content="Dynamic Vanguard" name="author">
<META content="MSHTML 6.00.3790.2541" name="GENERATOR">
</head>

<FRAMESET rows="48,*">
  <FRAME name="top" marginWidth="0" marginHeight="0" src="top.aspx" frameBorder="0"
noResize scrolling="no" longDesc="">
  <FRAMESET rows="675" cols="180,*"  framespacing="0" frameborder="NO" border="0" id=oa_frame><!--这里的id名称要与menuswitch.aspx页面的oa_frame对应--> 
    <FRAME name="left" marginWidth="0" marginHeight="0" src="left.aspx"
frameBorder="0" noResize scrolling="no" longDesc="">
    <FRAME name="middle" src="menuswitch.aspx" scrolling="NO" frameborder="0" noresize>
    <FRAME name="right" marginWidth="0" marginHeight="0" src="main.aspx"
frameBorder="0" noresize scrolling="yes" longDesc="">
  </FRAMESET>
  <NOFRAMES>
<body>
</body>
  </NOFRAMES>
</FRAMESET>
</HTML> --------------------编程问答-------------------- 不懂 帮顶 --------------------编程问答-------------------- UP下 --------------------编程问答-------------------- 支持一下 --------------------编程问答--------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>企业邮件处理系统</title>
</head>

<frameset rows="83,*" cols="*" framespacing="0" frameborder="no" border="0">
  <frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
  <frame src="center.html" name="mainFrame" id="mainFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>

--------------------编程问答--------------------

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<style> 
.navPoint { 
COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt 

</style> 
<script>
function switchSysBar(){ 
var locate=location.href.replace('center.html','');
var ssrc=document.all("img1").src.replace(locate,'');
if (ssrc=="images/main_41.gif")

document.all("img1").src="images/main_41_1.gif";
document.all("frmTitle").style.display="none" 

else

document.all("img1").src="images/main_41.gif";
document.all("frmTitle").style.display="" 


</script>

</head>

<body style="overflow:hidden">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="171" id=frmTitle noWrap name="fmTitle" align="center" valign="top">
<iframe name="I1" height="100%" width="171" src="left.html" border="0" frameborder="0" scrolling="no">
浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe> </td>
    <td width="9" valign="middle"  bgcolor="#0a5c8e" onclick=switchSysBar()><SPAN class=navPoint 
id=switchPoint title=关闭/打开左栏><img src="images/main_41.gif" name="img1" width=9 height=52 id=img1></SPAN></td>
    <td align="center" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;">
      <tr>
        <td height="8" style=" line-height:8px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;">
          <tr>
            <td width="14"><img src="images/main_24.gif" width="14" height="8"></td>
            <td background="images/main_26.gif" style="line-height:8px;"> </td>
            <td width="7"><img src="images/main_28.gif" width="7" height="8"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;">
          <tr>
            <td><iframe name="I1" height="100%" width="100%" src="tab/tab.html" border="0" frameborder="0" scrolling="no"> 浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
            <td width="3" style="width:3px; background:#0a5c8e;"> </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="12" style="line-height:12px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;">
          <tr>
            <td width="14" height="12"><img src="images/main_46.gif" width="14" height="12"></td>
            <td background="images/main_48.gif" style="line-height:12px;"> </td>
            <td width="7"><img src="images/main_50.gif" width="7" height="12"></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

补充:.NET技术 ,  ASP.NET
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,