Dreamweaver MX 2004 Advanced Tips (7) Using the framework of "behavior"

Source: Internet
Author: User
Tags insert window dreamweaver
dreamweaver| Advanced | skills

There are several JavaScript behavior and navigation-related commands that are especially appropriate for the framework.

  First we create a frames page file as shown in the following illustration:

Click a link to change the contents of two or more frames

After you select a link, repeat the go to URL behavior.

1. First assume that a frames page has been established, that there is a link open in "MainFrame", and now to do so, click on the link to change the contents of the other frames.

Select a link, open the Behavior panel, and choose Go to URL behavior.

2. Select the name of the frame you want to change. instance, select the "Topframe" frame.

3. Select the URL of the frame file you want to display in the selected box, either in-Station or web-site.

This time, click on the link, not only can change the contents of the "MainFrame" frame, you can also change the "Topframe" frame content.

4. If you want to click on the link, change more frame content, reuse the "go to URL" behavior. This time, click on the link, you can change the "MainFrame" and "topframe" frame content.

Use a jump menu in a frame

Using the Insert Jump menu command, you can set a menu list of links to open a file in a browser window when you click, setting a specific target window or frame in which to open the document.

Steps: Select the Forms tab in the Insert Column, and then click the Jump Menu button.

  Set Frame text

Replaces the contents and formatting of a given frame with the specified content.

Action step: Select a link, open the Behaviors panel, click the Plus (+) button and choose Set Text > Set frame text from the Actions pop-up menu. You can enter any valid HTML.

After saving, the effect of browsing by F12 is shown below:

As for the specific framework of the implementation of the page features need to play their own imagination, see what the framework can achieve the function bar!



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.