<frameset cols="100,*" id=frmMain>
<frame src="about:<input type=button onclick=top.frmMain.cols='0,*' value=关闭>">
<frame src="about:<input type=button onclick=top.frmMain.cols='100,*' value=打开>">
</frameset>

解决方案 »

  1.   

    to qiushuiwuhen(秋水无恨) :
    但是,hycenter.net的打开与关闭是在条上的?
      

  2.   

    用表格加上iframe就行了
    iframe嵌合在表格里面。中间条占用一个单元格。
      

  3.   

    vivanboy(我是谁?):给段代码行吗?
      

  4.   

    <frameset cols="100,20,*" id=frmMain frameborder=0>
    <frame src="about:">
    <frame src="about:<body scroll=no style=margin:0 bgcolor=buttonface><span onclick=top.frmMain.cols='100,20,*'>打开</span><span onclick=top.frmMain.cols='0,20,*'>关闭</span>">
    <frame src="about:">
    </frameset> 
      

  5.   

    <HTML><HEAD><TITLE>xxxxxxxxxxxxxx</TITLE>
    <STYLE>
    .navPoint {
    COLOR: blue; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt
    }</STYLE>
    <SCRIPT>
    function switchBar(){
    if (switchPoint.innerText==7){
    switchPoint.innerText=8
    document.all("frmTitle").style.display="none"
    }
    else{
    switchPoint.innerText=7
    document.all("frmTitle").style.display=""
    }
    }
    </SCRIPT>
    <BODY scroll=no style="MARGIN: 0px">
    <TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
      <TBODY>
      <TR>
        <TD align=middle id=frmTitle noWrap vAlign=center name="frmTitle" width='6%'><IFRAME 
          frameBorder=0 id=BoardTitle name=BoardMenu scrolling=yes 
          src="bbb.php" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 148px; Z-INDEX: 2"></IFRAME>
        <TD bgColor=#d2e8e6 onclick=switchBar() style="WIDTH: 10pt"><SPAN 
          class=navPoint id=switchPoint title=关闭/打开菜单>7</SPAN> </TD>
        <TD style="WIDTH: 100%"><IFRAME frameBorder=0 id=frmright name=forum 
          src="xxx.php" 
          style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1"></IFRAME></TD>
      </TR></TBODY></TABLE></BODY></HTML>