Name

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

Synopsis

Read-only

Returns a reference to the next outermost layer in the containment hierarchy. For a single layer in a document, its parentLayer is the window object.

Example

if (parentLayer != window) {
    ...
}

Value

Object reference (a layer or window).

Default

window

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.