Dreamweaver How to use inline frames correctly

Source: Internet
Author: User
Tags dreamweaver

Proper use of embedded frames can bring a lot of convenience to the creation of Web sites, such as when you click an online playback MP3 file, you can use the inline frame for local refresh.

Effect description

Create a file with a link to a large web site as an example, and when you click the link, the content of the site appears in the table for users to browse.

Creative Thinking

Open Dreamweaver MX 2004 software new page and table, table first behavior navigation bar, second behavior content display, insert inline frame code in second line.

Operation Steps

(1) Open the Dreamweaver MX 2004 software new file, as shown in Figure 4-1.

  

(2) For ease of operation, save the page first, as shown in Figure 4-2.

  

(3) In order to make the page beautiful, you can insert a table, as shown in Figure 4-3.

  

(4) Add navigation text and set table parameters, as shown in Figure 4-4.

  

(5) Insert the following embedded frame code, as shown in Figure 4-5.

(Reader can open "CD" | "Source file" | "Instance 4" | "4.1.txt" file, direct copy obtains)

Tip: In the parameters of the IFRAME, the width is the height, the name represents the names, the frameborder represents the border, SRC represents the default URL, and scrolling indicates whether the page scroll bar is displayed.

  

(6) Set the text "NetEase" link. When the word "NetEase" is clicked, the contents of the inline frame will jump to the NetEase page, as shown in Figure 4-6

(7) Then use the same method for "21CN" and "Sina" to establish a hyperlink, note that the "target" parameter must be set to "main".

(8) Save the file and complete the operation.

This example is to use some of the homepage of the site to do link cases, the general technology applicable to some of the relevant content between the browsing, such as a tutorial case needs a few pages to display, then the connection between these pages can use this technology to achieve.

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.