Change Language


Follow Navioo On Twitter

frameset

Defines a set of window-like frames within a parent window.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 2.0+ 1.0+ 4.0+ 1.0+

Example

This example shows a frameset containing two frames--a navMenu.htm page and a home page (index.htm). The frameset is split into columns:


<frameset cols="20%, 80%" >
	<frame src="navMenu.htm" name="navMenu" />
	<frame src="index.htm" name="home" />
</frameset>

Remarks

Define your individual <frame> </frame> elements within a set of <frameset> </frameset>, tags.

Attribute Detail

Attribute IE Netscape Mozilla Opera Safari
border
[border-width]. Example values: 0 (borderless), 1, 2, etc.
Width (in pixels) of the border around the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
bordercolor
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the border of the element. Specify either a color name or RGB color code.
4.0+ no no no no
 
class
[class-name]. Example values: header-class, list-element, etc.
CSS class assigned to the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
cols
[number]
Number of characters wide that the element should be.
2.0+ 1.1+ 1.0+ 4.0+ 1.0+
 
Specifies whether the frame has a border.
2.0+ 2.0+ 1.0+ 4.0+ 1.0+
 
framespacing
[number-of-pixels]
Number of pixels between frames.
4.0+ no no no no
 
Specifies whether the element shows a visual cue when it has focus.
5.5+ no no no no
 
id
[element-id]
Unique identifier for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
lang
[language-code]. Example values: "en" (English), "fr" (French), "es" (Spanish), etc.
Language code for the content of the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
Script language for the element.
3.0+ 2.0+ 1.0+ no 1.0+
 
longdesc
[url]
URL that contains a long description of the contents of the element.
4.0+ 1.1+ 1.0+ 4.0+ 1.0+
 
rows
[number-of-rows]
Number of rows in the element.
4.0+ 1.1+ 1.0+ 4.0+ 1.0+
 
style
[style-name]
Inline style for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
tabindex
[number]
Position of the element in the tabbing order for the document.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
title
[text-description]
Short text description for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
Specifies whether or not the element is unselectable.
5.5+ no no no no
 

Event Detail

Event IE Netscape Mozilla Opera Safari
Fires when the element becomes active.
4.0+ no no no no
 
Fires immediately after a user prints or print previews a document.
4.0+ no no no no
 
Fires immediately before the element stops being the active element.
4.0+ no no no no
 
Fires immediately before a user prints or print previews a document.
4.0+ no no no no
 
Fires immediately before a document is unloaded.
4.0+ no no no no
 
Fires when the element loses focus.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
Fires immediately before the element is selected.
4.0+ no no no no
 
Fires when the active element becomes inactive.
4.0+ no no no no
 
Fires when the element receives focus.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
Fires when the content of the element finishes loading.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
Fires when the element moves.
4.0+ no no no no
 
Fires when the element stops moving.
4.0+ no no no no
 
Fires immediately before the element moves.
4.0+ no no no no
 
Fires when the element is finished being resized.
4.0+ no no no no
 
Fires immediately before a user resizes the element.
4.0+ no no no no
 
Fires when the content of the element finishes unloading.
4.0+ 1.0+ 1.0+ 4.0+ 1.0+
 

Examples -> Source code Demo online - > frameset:

Ajax Javascript feed

↑ Grab this Headline Animator