去看看源代码吧,明明就写着<div id="showtoc" name="showtoc" style="display:none;">

解决方案 »

  1.   

    你右击看源代码就看到了,就是控制display
      

  2.   

    我用框架
    bar.html
    <script>
    function hide()
    {
    var o = document.images[0];
    top.b.cols='11,*';top.c.cols='0,*';
    o.src="images/l.gif";
    document.all.className='r';
    }
    function show()
    {
    var o = document.images[0];
    top.b.cols='144,*';top.c.cols='133,11';
    o.src="images/r.gif";
    document.all.className='l';
    }
    function act(e)
    {
    var o = document.images[0];
    if(o.src.match("images/r.gif")!=null)
    {
    hide();
    }
    else 
    {
    show();
    }
    }
    document.oncontextmenu=new Function('event.returnValue=false;');
    document.onselectstart=new Function('event.returnValue=false;');
    </script>
    </head><body  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll=no>
    <div align=left>
    <table width="10" height="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="10" align="left" valign="middle"><a href="#" onClick="act(this);" id="T"  title="&cedil;&Auml;±&auml;&iquest;ò&frac14;&Uuml;&micro;&Auml;&Aring;&Aring;&Aacute;&ETH;·&frac12;&Ecirc;&frac12;" class=l onMouseover="this.style.background='#B1CBFA';" onMouseOut="this.style.background='silver';"><span style="border-top:1px solid white;border-right:1px solid white;height:58px;padding-top:17px;padding-left:1px;"><img src=images/r.gif border=0 id="O" width="4" height="7"></span></a></td>
      </tr>
    </table>
    </div>
    </body>
    </html>frame.htm
    <frameset rows="55,*,26" cols="*" framespacing="0" frameborder="no" border="0" id="a" onbeforeunload="return logout(false);">
    <frame src="menu.asp" name="menubar" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="menubar">
    <frameset cols="144,*" framespacing="0" frameborder="no" id="b">    
    <frameset cols="133,11" name="leftmenu" scrolling="no" marginwidth="0" marginheight="0"  id="c">
    <frame src="left.asp" name="leftmenu" scrolling="no" marginwidth="0" marginheight="0" id="l">
    <frame src="bar.html"  name="leftbar" scrolling="no" marginwidth="0" marginheight="0" id="leftbar">
    </frameset>
    <frame src="profile.asp" name="main" scrolling="auto" marginwidth="0" marginheight="0" id="main">
    </frameset>
    <frame src="status.asp" name="status" frameborder="no" scrolling="NO" noresize marginwidth="0" marginheight="0" id="status">
    </frameset>
      

  3.   

    用框架:如下:
    //index.html文件<HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD><BODY>
    <frameset id="guide" framespacing="0" border="0" cols="130,*" frameborder="0">
      <frame name="contents" target="main" src="left.html  scrolling="no">
      <frame name="right" scrolling="auto" noresize src="list.html" marginwidth="0" marginheight="0">
      <noframes>
      <body>
      <p>此网页使用了框架,但您的浏览器不支持框架。</p>
      </body>  </noframes>
    </frameset>
    </BODY>
    </HTML>
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
    //left.html文件<HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD><BODY>
    hahahahhaha
    </BODY>
    </HTML>+++++++++++++++++++++++++++++++++++++++++++++++=//list.html 文件<HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD><BODY>
     <input name="button" type=button onClick="if(this.value=='开启菜单') {parent.document.all.guide.cols='130,*';this.value='关闭菜单';} else{this.value='开启菜单';parent.document.all.guide.cols='0,*,';}" value="关闭菜单">
    </BODY>
    </HTML>
      

  4.   

    http://www.5inet.net/bbs/indexlist.asp看看我的菜单.