• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Learning About Your Environment > Detecting the Operating System

Detecting the Operating System

The application version object (appVersion) not only includes the version number of the browser (see the previous section, "Detecting the Browser's Name and Version" ), but also the operating system of the browser used to view the site (Figures 12.4 and 12.5). This information can be very useful, especially if you need to overcome font-size inconsistencies or other OS-related incompatibilities.

Figure 12.4. The code is being run in Windows 95.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint