TOC PREV NEXT INDEX

Put your logo here!


offsetParent


offsetParent returns a reference to the object in which the current element is offset (i.e., the parent element).

Syntax

parentObj = element.offsetParent 

Parameters

parentObj is an object reference to the element in which the current element is offset.

Example

example here 

Notes

extra information

Specification

DOM Level 0. Not part of specification.


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX