August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.links[num].hash
The hash property associated with an Area object contains the anchor specified in the URL including the leading hash symbol (#). This property is a read/write string.
Listing 7.9 creates an auto parts page that allows users to find model numbers of parts by clicking a picture of the part (see Figure 7.2). Selecting either Car or Truck at the top of the page changes the links associated with the pictures. Selecting Car or Truck causes the hash property to be modified so that the user is taken to a different location within the page.
Read now
Unlock full access