Checking Frame Content


As you create and edit pages within frames, it can be easy to accidentally place the wrong content in a frame. You can use the Property inspector to ensure that the correct pages are loaded into each of the frames for the initial view of your Web page.

1.

Select the title Nav frame by clicking the top frame in the Frames panel. In the Src text field in the Property inspector, make sure that top.html is selected. If it isn't, click the folder icon to find and select it.

The Property inspector shows Frame properties for the title frame.

2.

Select the moreContent frame by clicking the right frame in the Frames panel. In the Src text field in the Property inspector, make sure that sidebar.html is selected. If it isn't, click the folder icon to find and select it.

The Property inspector shows Frame properties for the moreContent frame.

3.

Select the content frame by clicking the lower-left frame in the Frames panel. Next to the Src text field in the Property inspector, click the folder icon to find and select community_intro.html. Save the frameset.

The BeginningGreen.html was selected because it was the last document that you worked with in this frame. If you open a page within a frame to edit it, saving the frameset causes that file to become the default page for that frame when the frameset document loads. The community_intro.html file is the document you want to appear at first in the content frame of the final frameset.

The Property inspector shows frame properties for the content frame.

You can open Web pages from a variety of sources in a frame by typing the URL of the desired page in the Src text field in the Property inspector. The page you call up does not have to reside on the same server as the frameset. The capability to open pages from other servers can be a drawback where the ethical use of content is concerned. Some frames-based pages are used to open content developed by others, without their permission. Be sure to respect the copyright of content that is not your own and avoid giving visitors the impression that materials are from your Website if they aren't.

Note

If you are concerned about your pages being called up in someone else's frame, you can use JavaScript to cause the browser to open your page in its own window if it is called from a frame. You might be able to determine whether this is a problem by reviewing your site logs; check with your system administrator or Web host for more information.





Macromedia Dreamweaver 8(c) Training from the Source
Macromedia Dreamweaver 8: Training from the Source
ISBN: 0321336267
EAN: 2147483647
Year: 2006
Pages: 326

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net