Com web hosting - CD-435Appendix F . Examples from Parts III and
Tuesday, January 22nd, 2008CD-435Appendix F . Examples from Parts III and IV text NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example See Listing 19-11 later in this chapter for the findText()method to see the text property used to perform the replace action of a search-and-replace function. Methods collapse([startBoolean]) NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example See Listings 19-11 and 15-14 to see the collapse() method at work. compareEndPoints( type , rangeRef) NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example The page rendered by Listing 19-10 lets you experiment with text range comparisons. The bottom paragraph contains a SPAN element that has a TextRangeobject assigned to its text after the page loads (in the init()function). That fixed range becomes a solid reference point for you to use while you select text in the paragraph. After you make a selection, all four versions of the compareEndPoints() method run to compare the start and end points of the fixed range against your TextRange.compareEndPoints()
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.