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 tag. An applet is not officially an object in the document until the applet loads completely. Most of the work you do with Java applets from JavaScript takes place via the methods and variables defined inside the applet. Although you can reference an applet according to its indexed array position within the appletsarray, you will more likely use the applet object s name in the reference to avoid any confusion. Note that applets are not accessible to JavaScript in IE/Mac. For more details, see the discussion of the applet object in Chapter 32 and the LiveConnect discussion in Chapter 44. On the CD-ROM Example on the CD Related Items: applet object. bgColor See alinkColor document.bgColor
You want to have a cheap webhost for your apache application, then check apache web hosting services.

Leave a Reply