You can look for
only one plugin at a time, but you can use multiple instances of the Check Plugin action, if needed.
By default, the parameter dialog box for Check Plugin (see Figure 12-6) offers five plugins: Flash,
Shockwave, LiveAudio, QuickTime, and Windows Media Player. You can check for any other plugin by
entering its name in the Enter text box. Use the name exactly as it appears in bold (without the version
number) in Netscape??™s About Plug-ins area; for example: Nullsoft Winamp Plug-in for Gecko.
FIGURE 12-6
Running a media-intensive site? Use the Check Plugin action to divert visitors without plugins to alternative pages.
One very unfortunate hitch: Internet Explorer is pretty much crippled with respect to cross-browser plugin
detection. In Windows, Internet Explorer can only detect Flash and Shockwave plugins. And on Macintosh
platforms, Internet Explorer cannot detect any plugins at all. The best way to handle both browsers is to use
both ActiveX controls and plugins.
NOTE NOTE
410
Adding Advanced Design Features Part III
If you use a particular plugin regularly, you may also want to modify the Check Plugin.js
file found in your Actions folder. Add your new plugin to the PLUGIN_NAMES array (this holds
???nice??? plugin names as they appear in the parameter dialog box) and PLUGIN_VALUES array (this holds
???internal??? plugin names, as they appear in Netscape??™s About Plug-ins) in the initGlobals() function.
Pages:
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802