Help Center

Local Navigation

Object: HTMLFrameElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLFrameElement object represents a <frame> element in an HTML frameset.

The <frame> element identifies the content to be displayed in a single pane of a frameset.

HTMLFrameElement properties

Property name

Type

Description

Status

Availability

contentDocument

Document

Returns a reference to the Document object that the frame contains.

read only

4.6 or later

contentWindow

Window

Returns a reference to the Window object that contains the frame.

read only

4.6 or later

frameBorder

String

Specifies whether or not a separator is displayed around the frame.

writable

4.6 or later

longDesc

String

Specifies a URL where the content of the frame is described.

writable

4.6 or later

marginHeight

String

Specifies the top and bottom margins for the frame. The value must be greater than 0.

writable

4.6 or later

marginWidth

String

Specifies the left and right margins of the frames. The value must be greater than 0.

writable

4.6 or later

name

String

Specifies a unique name for the frame.

writable

4.6 or later

noResize

boolean

When true, indicates that the user cannot resize the frame.

writable

4.6 or later

scrolling

String

Specifies the scrolling behavior.

writable

4.6 or later

src

String

Specifies the URL of the source content for the frame.

writable

4.6 or later


Was this information helpful? Send us your comments.