O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required