HTML and CSS Reference
In-Depth Information
EXPLANATION ( CONTINUED )
3
The printResults() method, shown here, was added to this script, to show the val-
ue of the properties set for the BrowserDetect object; that is, the name of the
browser, its version number, and the operating system. Output examples are
shown in Figures 10.9, 10.10 and 10.11.
Figure 10.9 The output from Example 10.3 shown in Firefox.
Figure 10.10 The output from Example 10.3 shown in Opera.
Figure 10.11 The output from Example 10.3 shown in Internet Explorer.
Detecting Plug-Ins. Plug-ins are special software programs that can be downloaded
to add the ability to listen to audio, watch videos and movie clips, display animation,
and create special image viewing files. Some examples of plug-ins are Macromedia
 
Search WWH ::




Custom Search