Top Level (Example 10.9)-|-Previous Hierarchy Level-|-Return to Chapter Listing
Example 10.9:
The Object Hierarchy
The link Objects
The link object has these properties:
- hash: an anchor name in the URL.
- host: the hostname:port part of the URL.
- hostname: the host and domain name (IP address) in the URL.
- href: the entire URL.
- pathname: the directory-path portion of the URL, including the filename.
- port: the communications port part of the URL, if specified.
- protocol: the protocol portion of the URL, including the colon (e.g.: ftp:).
- search: the part of the URL beginning with ?, specifying a query, if present.
- target: the TARGET attribute of a link, which specifies the target window.
Top Level (Example 10.9)-|-Previous Hierarchy Level-|-Return to Chapter Listing