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

Chapter 2. Start Me Up! > Plug-in Detection

Plug-in Detection

Browser plug-ins provide the Web page author with lots of great options for including rich media content, such as sounds, video, and animation. The problem plug-ins pose is that you can't be sure if the user has the plug-ins installed that you require. JavaScript can help you find out what plug-ins the user has installed, and if they don't have what's needed, you can send them to a page where they can get the required plug-in. Script 2.10 tests for the presence of Macromedia's Flash plug-in, one of the most common plug-ins.

Script 2.10. Testing for plug-ins will soon become second nature with a script like this.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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