|
|
|
|
|
offsetHeight
offsetHeight gets the number of pixels that the current element is offset within the parent element
Syntax
height = element.offsetHeightParameters
height is an integer representing the offset in pixels.
Example
color_table = document.getElementById("t1"); tOffset = color_table.offsetHeight; if ( tOffset > 5 ) { // large offset: do something here }
Notes
Specification
| mozilla.org | mailto:oeschger | bug 93108 |
|
|
|
|
|