CD-451Appendix F . Examples from Parts III and (Web hosting contract)
CD-451Appendix F . Examples from Parts III and IV Before moving any end points, compare the HTML for each of those ranges: a.htmlText b.htmlText Now, move the start point of the a text range to the end point of the btext range: a.setEndPoint( StartToEnd , b) If you now view the HTML for the a range, a.htmlText you see that the
tag of the original a text range is nowhere to be found. This demonstration is a good lesson to use the setEndPoint() method primarily if you are concerned only with visible body text being inside ranges, rather than an element with its tags. TextRectangle Object Properties bottom left right top NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Listing 19-12 lets you click one of four nested elements to see how the TextRectangle is treated. When you click one of the elements, that element s TextRectangle dimension properties are used to set the size of a positioned element that highlights the space of the rectangle. Be careful not to confuse the visible rectangle object that you see on the page with the abstract TextRectangle object that is associated with each of the clicked elements. TextRectangle.bottom
If you are in need for cheap and reliable webhost to host your website, we recommend http web server services.