Web site templates - 346 Part III . Document Objects Reference delivers
346 Part III . Document Objects Reference delivers an indexed array of anchors in a document. Use the array references to pinpoint a specific anchor for retrieving any anchor property. Anchor arrays begin their index counts with 0: The first anchor in a document, then, has the reference document.anchors[0]. And, as is true with any built-in array object, you can find out how many entries the array has by checking the length property. For example var anchorCount = document.anchors.length The document.anchors property is read-only. To script navigation to a particu lar anchor, assign a value to the window.locationor window.location.hash object, as described in Chapter 17 s location object discussion. On the CD-ROM Example on the CD with Listing 18-2 Related Items: anchor, location objects; document.links property. applets Value: Array of applet objects Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . . The applets property refers to Java applets defined in a document by the