Dreamweaver MX 2004 behavior of the set text

Source: Internet
Author: User
Tags object html tags insert dreamweaver
Dreamweaver

· Set text

In this tutorial, we'll show you how to set up layer text, text field text, and status bar text.

First, set the layer text.

The set layer text action replaces the content and formatting of an existing layer on the page with what you specify. This content can include any valid HTML source code. You can format content by including HTML tags in the new HTML text box in the Set Layer Text dialog box.

Steps to implement:

Select Insert-->> Layout object-->> layer. Enter the text you want in the layer, open the Behavior panel, and select "Set Text"-->> "set layer text" from "actions". As shown in figure

Save the document, press F12 to browse the effect bar!

Finally you have to look at Code View Code! This helps us to learn.

Second, set text field text

The Set Text field text action replaces the contents of the form's text field with what you specify.

The process of specific production:

Select Insert-->> form, and then select Insert-->> form-->> text field. "" Note that the text field should be included in the form. Type your content in the text field.

Select the text field and open the Behaviors panel, and choose Set Text-->> to set text field text from actions. As shown in figure:

Notice the action in the Behavior panel. Save the document, press F12 to browse the effect bar!

Finally you have to look at Code View Code! This helps us to learn.

Third, set the status bar text

The Set status bar text action displays a message in the status bar to the left of the bottom of the browser window. We often see this effect on some sites Ah, the production of simple more practical.

The process of specific production:

Select an object or choose nothing. You can also open the Behaviors panel and choose Set Text-->> to set the status bar text from the action. As shown in figure:

Notice the action in the Behavior panel. Save the document, press F12 to browse the effect bar!

Finally you have to look at Code View Code! This helps us to learn.

Conduct tutorial to this end! I hope you will be more free to make the desired results. Please correct me for the deficiencies, thank you! There are questions about behavior that can be discussed in our forum: http://bbs.ddvip.net.



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.