参考一下CSDN的
http://expert.csdn.net/expert/forum.asp
页面的实现

解决方案 »

  1.   

    <!-- home.htm -->
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=gb1212">
    <TITLE>home.htm</TITLE>
    </HEAD>
    <FRAMESET  rows="70,*" frameborder=NO bordercolor="#B7C5D8;" border="0" framespacing="0"> 
      <frameset rows="50,*" frameborder="NO" border="0" framespacing="0"> 
        <FRAME SRC="1.htm" NAME="top" SCROLLING="No">
        <frame name="bottomFrame" scrolling="NO" noresize src="2.htm">
      </frameset>
      <FRAMESET id="fsMain" cols="20%,*" frameborder=YES bordercolor="#B7C5D8" border="1" framespacing="1"> 
        <FRAME SRC="3.htm" NAME="guide" SCROLLING="No">
        <FRAME SRC="main.htm" width="500" NAME="main" SCROLLING="auto">
      </FRAMESET>
    </FRAMESET>
    <noframes> 
    </noframes> 
    </HTML>
    <!-- main.htm -->
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=gb1212">
    </HEAD>
    <body>
    <input type="button" value="change" onClick="parent.fsMain.cols = '30,*';">
    </body>
    </HTML>
      

  2.   

    <input type="button" value="change" onClick="parent.fsMain.cols = '30%,*';">
      

  3.   

    FRAMESET--------------------------------------------------------------------------------DescriptionSets the number and size of vertical and horizontal frames for a compound document. Use the FRAME element within FRAMESET to define the content and properties of the individual frames. You can also nest FRAMESET elements to create frames within a frame.Syntax
    <FRAMESET
    BORDER=pixels
    BORDERCOLOR=colorCLASS=classname
    COLS=col-widths
    FRAMEBORDER=NO | YES | 0 | 1 
    FRAMESPACING=spacing
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS 
    ROWS=row-heights
    TITLE=text
    >Parameter Description 
    BORDER=pixels  Defines the space between the frames in pixels, including the 3D border. For nested FRAMESETS, the border can only be defined for the top-level FRAMESET element. 
    BORDERCOLOR=color  Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. 
    CLASS=classname  Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.  
    COLS=col-widths  A comma delimited list of frames to create. Each item in the list contains the initial size of the column. You can specify the column dimensions by percentage (%), pixels, or a relative size (*) 
    FRAMEBORDER=NO | YES | 0 | 1  Specifies whether or not to display a border for the frame. "YES" or 1 causes a border to be displayed (default). "NO" or 0 displays no border. 
    FRAMESPACING=spacing  Creates additional space between the frames in pixels. 
    ID=value  An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underbar character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position. 
    LANG=language  Specifies which language to use in ISO standard language abbreviation form. 
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT  Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT. JAVASCRIPT, JSCRIPT  The scripting language is written in JavaScript. 
    VBS, VBSCRIPT  The scripting language is written in VBScript. 
     
    ROWS=row-heights  A comma delimited list of frames to create. Each item in the list contains the initial size of the row. You can specify the row dimensions by percentage (%), pixels, or a relative size (*).  
    TITLE=text  Used to provide advisory information. ResA frameset organizes multiple frames on the screen. Only frames, nested FRAMESETelements, and the NOFRAMES tag are valid within a frameset. This element is a block element. Both the start and end tags are required. Example<FRAMESET COLS="25%, 50%, *">
    <FRAME SRC="contents.htm">
    <FRAME SRC="info.htm">
    <FRAME SCROLLING=NO SRC="graphic.htm">
    </FRAMESET>
      

  4.   

    liad()  谢谢,谢谢。很详细,真心为你回答问题这种热心精神感动:) 200全给你了。