Click to return to the DHTML, HTML     
FRAME Element | FRAME Obj...     HEAD Element | HEAD Objec...     DHTML Objects    
Web Workshop  |  DHTML, HTML & CSS

FRAMESET Element | FRAMESET Object


Specifies a frameset, which is used to organize multiple frames and nested framesets.

HTML Syntax

<FRAMESET
    BORDER=pixels
    BORDERCOLOR=color
    CLASS=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
>

Remarks

If a user opens a Web folder inside a frame and then clicks something in the Web folder, the file or folder that the user clicks takes over the entire window. For example, suppose that a page contains two frames, one frame pointing to http://www.microsoft.com and the second frame pointing to a network drive. If the user clicks a file or folder in the second frame, that frame takes control of the entire window, including the first frame. For file types that the browser cannot host, such as .txt files, a separate window in the appropriate host application is opened.

A Web folder is a part of the file system hierarchy, but it does not necessarily represent anything in the file system. An example is Network Neighborhood.

The FRAMESET element is a block element and requires a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Styles

Example

This example uses the FRAMESET element to define three columns of rectangular frames on a page.

<FRAMESET COLS="25%, 50%, *">
<FRAME SRC="contents.htm">
<FRAME SRC="info.htm">
<FRAME SCROLLING="NO" SRC="graphic.htm">
</FRAMESET>

See Also

FRAME



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.