Check Plugin

Check Plugin

Use the Check Plugin action to send visitors to different pages depending on whether they have the specified plug-in installed. For example, you might want visitors to go to one page if they have Shockwave and another page if they do not.

To use the Check Plugin action:

  1. Select an object and open the Behaviors panel.
  2. Click the Plus (+) button and select Check Plugin from the Actions pop-up menu.
  3. Select a plug-in from the Plugin pop-up menu, or click Enter and type the exact name of the plug-in in the adjacent text box.

    You must use the exact name of the plug-in as specified in bold on the About Plug-ins page in Netscape Navigator. (In Windows, select Navigator’s Help > About Plug-ins command; on the Macintosh, select About Plug-ins from the Apple menu.)

  4. In the If Found, Go To URL text box, specify a URL for visitors who have the plug-in.

    If you specify a remote URL, you must include the http:// prefix in the address.

    To make visitors with the plug-in stay on the same page, leave this field blank.

  5. In the Otherwise, Go To URL text box, specify an alternative URL for visitors who don’t have the plug-in.

    To make visitors without the plug-in stay on the same page, leave this field blank.

  6. Plug-in detection is not possible in Internet Explorer on the Macintosh, and most plug-ins cannot be detected in Internet Explorer on Windows. By default, when detection is impossible, the visitor is sent to the URL listed in the Otherwise text box. To instead send the visitor to the first (If Found) URL, select the Always go to first URL if detection is not possible option. When selected, this option effectively means "assume that the visitor has the plug-in, unless the browser explicitly indicates that the plug-in is not present."

    In general, if the plug-in content is integral to your page, select the "Always go to first URL if detection is not possible" option; visitors without the plug-in will often be prompted by the browser to download the plug-in. If the plug-in content is not essential to your page, leave this option deselected.

    This option applies only to Internet Explorer; Netscape Navigator can always detect plug-ins.

  7. Click OK.
  8. Check that the default event is the one you want.

    If it isn’t, select another event from the pop-up menu. If the events you want are not listed, change the target browser in the Show Events For pop-up menu.



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly