Dreamweaver change element attribute behavior tutorial

Source: Internet
Author: User
Tags dreamweaver

You can change the property value of a page element by using the Change property behavior in Dreamweaver.

One, Dreamweaver change element sexual behavior

1. Select a page element or object.

2. Open the Behavior panel.

3. Click the "Add behavior (+)" button and select "Change Attribute" in the pop-up drop-down menu. As shown in the following illustration:

4. Open the Change Properties dialog box, as shown in the following illustration:

Element type: Select the element for which you want to change the property.

Element ID: The selected element, if it has an ID, is automatically displayed here. If you do not have an ID, add the ID and then fill in the Change Properties dialog box again.

Properties: You can select a property name to change, or you can enter a property name to change.

New value: Enter a new value for the property.

5. Click "OK" button.

The source code is as follows:

Dreamweaver change element attribute behavior example

...

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.