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.
Note: You cannot detect specific plug-ins in Internet Explorer using JavaScript. However, selecting
Flash or Director will add the appropriate VBScript code to your page to detect those plug-ins in
Internet Explorer on Windows. Plug-in detection is impossible in Internet Explorer on the Macintosh.
To use the Check Plugin action:
Select an object and open the Behaviors panel.
1
Click the Plus (+) button and select Check Plugin from the Actions pop-up menu.
2
Select a plug-in from the Plugin pop-up menu, or click Enter and type the exact name of the
3
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.)
In the If Found, Go To URL text box, specify a URL for visitors who have the plug-in.
4
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.
In the Otherwise, Go To URL text box, specify an alternative URL for visitors who don't have
5
the plug-in.
To make visitors without the plug-in stay on the same page, leave this field blank.
Plug-in detection is not possible in Internet Explorer on the Macintosh, and most plug-ins
6
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.
Click OK.
7
Check that the default event is the one you want.
8
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.
Using the behavior actions that come with Dreamweaver
379
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers