Objects > TextRange
The TextRange object -- similar in concept to the Netscape 6 and W3C DOM Range objectrepresents the text of zero or more characters in a docume
Return the pixel measure of the imaginary space occupied by the TextRange object. Although you do not see a TextRange object in the document (un
Return 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 T
Specifies all HTML of the document for a given element when that element is used as the basis for a TextRange object. For example, if you create a
Indicates the text contained by the text range. In the case of a TextRange object of a body element, this consists of only the text that is rend
Reduces the TextRange object to a length of zero (creating an insertion point) at the beginning or end of the text range before it collapsed.
Compares the relative position of the boundary (start and end) points of two ranges (the current range and one that had been previously saved to a v
Creates a new TextRange object with the same values as the current range. The new object is an independent object (the old and new do not equal ea
Executes the named command on the current TextRange object. Many commands work best when the TextRange object is an insertion point.
Expands the current text range (including a collapsed range) to encompass the textual unit passed as a parameter. For example, if someone selects so
Searches the current TextRange object for a match of a string passed as the required first parameter. By default, matching is done on a case-insen
These two methods work together as a way to temporarily save a text range specification and restore it when needed. The getBookmark( ) method retu
Determines whether the comparison range is within or equal to the physical range of the current text range.
Determines whether the comparison range is identical to the current text range.
Collapses the current text range to an insertion point at the end of the current range and moves it forward or backward from the current position by
1-15 / 29 >
Powered by Linode.