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

layer — NN 4 IE n/a DOM n/a

Synopsis

The layer object reflects the LAYER and ILAYER elements.

HTML Equivalent

<ILAYER>
<LAYER>

Object Model Reference

NN

[window.]document.layerName

Properties

above

clip

left

parentLayer

top

background

document

name

siblingAbove

visibility

below

hidden

pageX

siblingBelow

zIndex

bgColor

id

pageY

src

 

Methods

load( )

moveBy( )

resizeBy( )

moveAbove( )

moveTo( )

resizeTo( )

moveBelow( )

moveToAbsolute( )

 

Event Handler Properties

Handler

NN

IE

DOM

onblur

4

n/a

n/a

onfocus

4

n/a

n/a

onload

4

n/a

n/a

onmouseout

4

n/a

n/a

onmouseover

4

n/a

n/a

onmouseup

4

n/a

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