ITSE 1411 Beginning Web
JS History, Location, and Navigator Chapter 4 Discussion
Discussion
  1. The History Object keeps a "history list" of all documents opened during the current browser session. The history object includes three methods: back(), forward(), and go() and the property length.
  2. The Location Object can be used to open web pages. See Tables 4-6 and 4-7 on page 223 for location properties and methods.
  3. The Navigator Object is used to obtain information on the current browser. Not all browsers support the same methods and properties. By knowing which browser is being used, the correct code for each browser can be written.
  4. The Screen Object is used to obtain information about the computer screen's size, resolution, and color depth. Table 4-9, page 226 shows the properties of the screen object.