Dreamweaver
This article selected from the 4U2V studio prepared the "Dreamweaver Web page design and production of 100 cases" (People's Telecommunications publishing house, isbn:7115142394). Reprint of this article is prohibited without the written permission of the copyright owner.
Purchase Address: Click to visit
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.
<iframe width=500 height=400 name=main frameborder=0 src=http://www.doking.cn scrolling= "Auto" ></iframe>
(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.