object typically contains the following properties (although, as usual, many browsers add
their own properties):
— the height of the screen (in pixels) available for use by windows. This takes
into account the space needed by operating system elements such as the Windows taskbar.
— the width of the screen (in pixels) available for use by windows
— the number of bits used to represent colors. For most systems, this is 32.
— the height of the screen in pixels
— the width of the screen in pixels
properties are useful when determining the new size for a window.
For example, to fill up the user ’s screen, you could use this code:
Besides that, most of this data is used in conjunction with site traffic tools to determine the graphical
capabilities of users.
code in both HTML and SVG pages, explaining the differences between the two. It also discussed how
future in this regard.
Later in the chapter, you learned about the Browser Object Model and the various objects it supplies.
You learned that the
are actually just properties of
The chapter explained how to manipulate browser windows and frames, moving and resizing them
object, you learned how to access and alter a window’s location
and, using the
object, how to go back and forward to pages the user has already visited.
Finally, you learned how to retrieve information about a user’s Web browser and screen by using the
08_579088 ch05.qxd 3/28/05 11:37 AM Page 157