function dozoom()
{
if(self.parent.Right.cols=='190,8,*')
{
self.parent.Right.cols='0,8,*';
}
else
{
self.parent.Right.cols='190,8,*';
}

解决方案 »

  1.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <TITLE>帮助首页</TITLE>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <link href="css/site.css" rel="stylesheet" type="text/css">
    </HEAD>
    <frameset border="0" name="fstMain" frameSpacing="0" rows="*" frameBorder="NO" cols="180,*">
    <frame name="leftFrame" src="help_left.aspx" scrolling="yes">
    <frameset rows="30,*" frameborder="no" border="0" framespacing="0" cols="*">
    <frame name="topFrame" scrolling="no" src="help_top.aspx">
    <frameset rows="*" frameborder="no" border="0" framespacing="0" cols="15,*">
    <frame name="middleFrame" scrolling="no" src="admin_middle1.htm">
    <frame name="mainFrame" scrolling="yes" src="help_main.aspx">
    </frameset>
    </frameset>
    </frameset>
    </HTML>
    ===============================
    admin_middle1.htm
    ===================<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <style>
    body{scrollbar-face-color:#FFCC99;scrollbar-track-color:#FFaa66;scrollbar-arrow-color:red;scrollbar-shadow-color:#FFaa99}
    table{font-size:9pt}
    body{font-size:9pt;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}
    A:link{text-decoration:none;color:#000000}
    A:hover{text-decoration:underline;color:red}
    A:active{text-decoration:none;color:green}
    A:visited{text-decoration:none}
    div{text-indent:26px}
    </style>
    <script language="javascript">function hidetoc()
      {
    top.fstMain.cols="1,*";
    document.all("imgshowToc").style.display = "block";
    document.all("imgHideToc").style.display = "none";
    }
    function hide1()
      {
    document.all("imgshowToc").style.display = "none";
    }
    function showtoc()
      {
    top.fstMain.cols="200,*";
    document.all("imgshowToc").style.display = "none";
    document.all("imghideToc").style.display = "block";
    }
    </script>
    </head>
    <body background="logo/nlt05.gif">
    <table width=20 height=400 ID="Table1">
    <tr>
    <td>
    <img id="imgHideToc" src="logo/nlt04.gif"   onclick="hidetoc();" style="cursor:hand" title="关闭左边栏"><br>
    <img id="imgshowToc" src="logo/nlt04_flip.gif"  onclick="showtoc();" style="cursor:hand" onload="hide1();" title="显示左边栏">
    </td>
    </table>
    </body>
    </html>