July 1998
Intermediate to advanced
1456 pages
65h 5m
English
boundingLeft, boundingTop — NN n/a IE 4 DOM n/a
Read-only
Returns the pixel distance between the top or left of the browser
window or frame and the top or left edges of the imaginary space
occupied by the TextRange object. Although you do
not see a TextRange object in the document (unless
a script selects it), the area of a TextRange
object is identical to the area that a selection highlight would
occupy. Values for these properties are measured from the fixed
window or frame edges and not the top and left of the document, which
may scroll out of view. Therefore, as a document scrolls, these
values change.
var rangeOffH = document.forms[0].myTextArea.createTextRange( ).boundingLeft
Integer.
None.
Read now
Unlock full access