Name

FRAMESET — NN n/a IE 4 DOM 1

Synopsis

The FRAMESET object reflects the FRAMESET element. While Navigator knows about framesets as objects, it treats a frameset like any other window object. Internet Explorer 3 and later also observe this behavior. Therefore, for cross-platform access to FRAMESET properties and methods, see the window object listing in this chapter. But if you need access to the properties listed in this section, you must access the FRAMESET object via its frameset ID. Be aware that references to frameset objects shown in this section may not work properly in the Windows 95 version of Internet Explorer 4. Also, the windowRef placeholder may be filled with parent or top if the reference is in a script contained by a child frame.

HTML Equivalent

<FRAMESET>

Object Model Reference

IE

[ windowRef .]document.all. framesetID

Properties

border

document

isTextEdit

parentTextEdit

style

borderColor

frameBorder

lang

rows

tagName

className

frameSpacing

language

sourceIndex

title

cols

id

parentElement

  

Methods

contains( )

removeAttribute( )

setAttribute( )

getAttribute( )

  

Collections/Arrays

all[]

children[]

 

Event Handler Properties

Handler

NN

IE

DOM

onbeforeunload

n/a

4

n/a

onload

n/a

4

n/a

onresize

n/a

4

n/a

onunload

n/a

4

n/a

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.