dreamweaver| Tutorials | Web page
Framework Technology
When browsing the web, we often encounter such a navigation structure. It's a super connection. Click on the left side of the link after the target appears on the right. Or click on the target page that the link points to appears below. To do this, you must use a frame. In order to better understand what is the framework. Let's draw a schematic to discuss.
This is a frame of the left and right structure. In fact, such a structure is made up of three web page files. First, the outer frame is a file, which we name with Index.htm. The left side of the frame is named a, which points to a page a.htm. The right is named B, which points to a Web page b.htm.
Let's start by creating a framework from scratch. (Take the left and right frame structure for example)
1, point "File" menu > New, pop-up "New Document" dialog box as shown below:
Or in the Insert bar > Layout > Select frame: Left frame as shown below:
Dreamweaver MX 2004 generates a blank frame page, as shown in the following figure:
2, select "Window" menu "Frame", pop-up "frame" panel as shown below. From the frame panel, it is known that the system generates names for the left and right frames. The left frame name is: Leftframe, the right frame name is: MainFrame, of course, you can rename the frame through the frame properties panel, it is important to understand this. When you create a hyperlink, you have to correctly control which page you are pointing to.
3, Save the frame. Choose "File" menu and click "Save All". The System pop-up dialog box. At this point, a frame structure file is saved. We are named index.htm by convention.
Save the frame structure if the dotted box is wrapped around a circle. (Figure below)
Dashed on the right is the right page in the save frame. (pictured below)
Dashed on the left is the page to the left of the Save frame: (as shown below)
Three pages saved.
4, below we want to implement by the left side of the hyperlink, the corresponding page appears on the right. Make a hyperlink on the left page. Point to a page that already exists. Note that after you do the link, you want to set it to mainframe in the target column. (pictured below)
6, set complete, save all, press F12 preview page. The page that the link points to appears in the right frame.
7, repeat the above steps, the left frame all the links done, a simple site navigation structure to create complete.
The framework has many advantages, but it is easy to confuse if it is not well understood. If you have a few web pages, you can create a Web page that does not use frames to complete the framework's functionality. For example, if you want the navigation bar to appear to the left or top of the page, you can either use a frames page or include the navigation bar on each page instead of using a frame.