不可能!但是如果改成iframe就可以。
我这里有一个可以隐藏左右的,你改改就是了!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/document.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.changes {
font-family: "Webdings";
font-size: 9pt;
color: #FFFFFF;
cursor: hand;
}
.tbborder {
border-top-width: 2px;
border-bottom-width: 2px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #0099FF;
border-bottom-color: #0099FF;
}
.lboder {
border-left-width: 2px;
border-left-style: solid;
border-left-color: #0099FF;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #0099FF;
}
-->
</style>
</head>
<script>
function dochange()
  {if(left.style.display=="")
     {left.style.display="none";
      right.style.width="100%";
    aa.innerHTML="4"
     }
 else
   {aa.innerHTML="3"
    right.style.width="85%";
left.style.display="";
   }   
middle.style.width="1px";
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="15%" height="100%" border="0" align="left" cellpadding="0" cellspacing="0" class="lboder" id=left>
  <tr>
    <td height="100%" valign="top"> 
      <div align="center">left
      </div>
    </td>
  </tr>
</table>
<table  height="100%"  width="85%" id="right" border="0" align="left" cellpadding="1" cellspacing="0">
  <tr> 
    <td width="1" height="100%" bgcolor="#0099FF"  id="middle" style="width:1px"><A id="aa" class="changes" onClick="dochange()" >3</A></td>
    <td id="myiframe"><iframe name="main" src="changepwd.asp" frameborder="0" width="100%" height="100%" scrolling="no"></iframe></td>
  </tr>
</table>
</body>
</html>

解决方案 »

  1.   

    <frameset name=firstFrame rows="88,*" cols="*" frameborder="NO" border="0" framespacing="0">
      <frame src="show_top.asp" name="topFrame" scrolling="NO">
      <frameset cols="17,*" frameborder="NO" border="0" framespacing="0">
        <frame src="show_left.asp" name="leftFrame" scrolling="NO" noresize>
        <frameset rows="63,*" frameborder="NO" border="0" framespacing="0">
          <frame src="show_main.asp" name="mainFrame" scrolling="no">
          <frame src="show_bottom.asp" name="bottomFrame" scrolling="auto" noresize>
        </frameset>
      </frameset>
    </frameset>show_main.asp:
    <script language="JavaScript"><!--
    function hsTop(e)
    {
        if(top==window) return;
        var b = (parent.firstFrame.rows == "88,*");
        parent.firstFrame.rows = b ? "1, *" : "88,*";
        e.value = !b ? " ▲ 隐藏 上边的框架" : " ▼ 展开 上边的框架";
    }
    </script>
    <input type=button value=" ▲ 隐藏 上边的框架" onclick="hsTop(this)">
      

  2.   

    奇怪?我上次用parent.framename.rows的时候,为什么告诉我错误???