Đang chuẩn bị liên kết để tải về tài liệu:
JavaScript Bible, Gold Edition part 84

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

JavaScript Bible, Gold Edition part 84. This book will bring programmers and non-technical professionals, including casual programmers and scripters, painlessly up to speed on all aspects of mastering JavaScript. Key topics include programming fundamentals, JavaScript language elements and how to use them effectively, and how to easily and efficiently add powerful new functionality to HTML documents and Java applets. | 678 Part III Document Objects Reference Related Item navigator.cpuClass property. platform Value String Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 IE5.5 Compatibility The navigator.platform value reflects the operating system according to the codes established initially by Netscape for its userAgent values. Table 28-3 lists typical values of several operating systems. In the long list of browser detection functions in Listing 28-1 I elected not to use the navigator.platform property because it is not backward-compatible. Meanwhile the other properties in that listing are available to all scriptable browsers. Table 28-3 Sample navigator.platform Values navigator.platform Operating System Win98 Windows 98 WinNT Windows NT Win16 Windows 3.x Mac68k Mac 680x0 CPU MacPPC Mac PowerPC CPU SunOS Solaris Notice that the navigator.platform property does not go into versioning of the operating system. Only the raw name is provided. Example on the CD-ROM On the CD-ROm Related Item navigator.userAgent property. plugins Value Array of Plug-in Objects Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 IE5.5 Compatibility navigator.plugins Chapter 28 The Navigator and Other Environment Objects 679 You rarely find users involved with Web page design who have not heard about plug-ins the technology that enables you to embed new media types and foreign file formats directly into Web documents. For instance instead of requiring you to view a video clip in a separate window atop the main browser window a plug-in enables you to make that viewer as much a part of the page design as a static image. The same goes for audio players 3-D animation chat sessions even the display of Microsoft Office documents such as PowerPoint and Word. When many browsers launch they create an internal list of available plug-ins located in a special directory folder the name varies with the browser and operating system . The navigator.plugins array lists the items registered at launch time. Each plug-in is .