Dreamweaver How to check plug-in behavior

Source: Internet
Author: User
Tags empty dreamweaver

Using the check plugin behavior in Dreamweaver allows you to move them to a different page based on whether the user's browser has the specified plug-in installed. For example, you might want to let a user who has Flash installed go to a page, and the user who does not have the software installed will go to another page.

First, Dreamweaver check plug-in behavior

1. Select a page element or object.

2. Open the Behavior panel.

3. Click the "Add behavior (+)" button, in the Pop-up drop-down menu, select "Check plugin" command. As shown in the following illustration:

4. Open the Check Plugin dialog box, as shown in the following illustration:

Plugins: Select a plugin from the Select menu, or click Enter and enter the exact name of the plug-in in the adjacent text box.

If yes, go to URL: Specify the URL to which the user who installed the plug-in will jump, or click the Browse button to select a page. If the text box is empty, the user who installed the plug-in will stay on this page.

Otherwise, go to URL: Specify the URL to which the user does not have the plug-in installed, or click the Browse button to select a page. If the text box is empty, the user who does not have the plug-in installed stays on this page.

If it cannot be detected, always go to the first URL: When selected, the plugin will be transferred to the first URL that was previously set when the browser cannot detect it. In general, select this option if the plug-in is required for the page, otherwise deselect this option.

5. Click "OK" button.

The source code is as follows:

Dreamweaver CS5 Check plug-in behavior sample

If the plug-in is detected, go to http://www.baike369.com<;/p>

If the plugin is not detected, go to http://www.baike369.com/pst/?id=34<;/p>

6. See if the attached event is a required event. If it is not the event you want, you can change the event.

7. See if the behavior parameters are appropriate. You can also modify the behavior parameters if they are not appropriate.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.