466 Part III . Document Objects Reference bookmark (Web hosting services)

466 Part III . Document Objects Reference bookmark string as its parameter to set the text range to exactly the way it appeared when the bookmark was originally obtained. If the method is successful, it returns a value of true, and the text range is set to the same string of text as originally preserved via getBookmark(). It is possible that the state of the content of the text range has been altered to such an extent that resurrecting the original text range is not feasible. In that case, the method returns false. On the CD-ROM Example on the CD-ROM Related Items: TextRange.getBookmark() method. moveToElementText(elemObjRef) Returns: Nothing. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The fastest way to cinch up a text range to the boundaries of an HTML element on the page is to use the moveToElementText()method. Any valid reference to the HTML element object is accepted as the sole parameter just don t try to use a string version of the object ID unless it is wrapped in the document. getElementById() method (IE5+). When the boundaries are moved to the element, the range s htmlText property contains the tags for the element. On the Example on the CD-ROM CD-ROM Related Items: TextRange.parentElement() method. moveToPoint(x, y) Returns: Nothing. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The moveToPoint() method shrinks the current text range object to an insertion point and then moves it to a position in the current browser window or frame. You control the precise position via the x (horizontal) and y (vertical) pixel coordinates specified as parameters. The position is relative to the visible window, and TextRange.moveToPoint()
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.

Leave a Reply