For example, a banner at the top of a page might have a relative height of 1, while a vertical menu below it has a relative height of 4. This means that the banner takes up one-fifth of the vertical window space while the menu takes up four-fifths.
You can also use relative sizing, which lets you control the size of a group of elements, by assigning dimensions that are proportional to each individual element.
The quickest way to modify the size of an individual frame is to drag and reposition its border. However, the Frame Properties dialog box gives you some better options. The Frame size boxes let you set precise dimensions by typing them in. Frames can use both percent and pixel values, like tables ( ).
6.2.3.1 Adjusting frame dimensions
Frames are just like any other design element on your site; if you don't like the way they look, FrontPage gives you lots of ways to change their appearance. For example, if the proportions of your frames look a little off, you can change the way they're laid out by using the Frame Properties dialog box (which is what you'll use to make most frame-related modifications). To get started making changes, first select a frame, then right-click it and select Frame Properties (or select Frames » Frame Properties).
Pick a name for each new page and enter it into the File Name box. Since you may be looking at more than one dialog box (one for each new page, plus one for the frameset), make sure you know which file you're naming. Most people find that naming the frameset Index1.htm or default.htm works well, since it's usually the first page of their site. (See for details on naming a site's home page.)
Figure 6-3. When you save new frames pages, FrontPage shows you which page you're saving, by highlighting it within the diagram on the right side of the dialog box. The frameset page is last but not least.
When you save the frameset, FrontPage first prompts you to save each new page you've created, one by one, and provides a diagram on the right side of the Save As dialog box, as shown in , to help you keep track of what you're saving.
Once you're done creating your new framed pages, you save them by first saving the frameset and then saving any new pages that you added. With the frameset open in Design view, save it as you would any other Web page ( ).
6.2.2. Saving the New Frameset
That's all you need to do to get started creating a group of pages that use frames. shows you how to add more pages to a frameset, but first you need to save your new frames.
New Page. Click this button to create a new Web page to load into the frame. FrontPage creates a new blank page and displays it within the frame, so you can edit it. Later, when you save the frameset, FrontPage prompts you to save any new pages.
Don't let the terminology here confuse you. "Initial Page" means the page that initially loads in the frame. But if you haven't created it yet, you can click New Page (which will then become the initial page).
Set Initial Page. Click this button if you have an existing Web page you'd like to load into the frame.
Figure 6-2. FrontPage's Banner and Contents frames template creates this empty frameset. When you select pages to load into each of these three frames, you'll see them here in Design view. At that point, you'll be editing four separate HTML documents all at once within the same window.
To help you fill the empty frames, FrontPage adds two buttons to each frame. You use the buttons to select or create the first page viewers will see when they come to your site.
To get started using one of these templates, select File » New to display the New task pane. Within the task pane, click "More page templates" and then click the Frames tab. Here, you'll find FrontPage's templates for frames. To preview and read a quick summary about each template, click each template. Then pick the frames template you want to use and click OK. FrontPage creates the empty frameset, as shown in .
FrontPage simplifies the process of creating frames with its frames pages templates. These are canned frameset pages, each with a different layout, that include buttons and other aids to help you fill the frameset with pages.
When you build a site that uses frames, you're actually creating multiple Web pages for each browser window your viewers are looking at. Coordinating these pages can get confusing, but FrontPage helps by letting you create and edit framed pages directly from within the frameset. The program also lets you insert an alternative page for visitors whose browsers don't support frames.
Ms-office - FrontPage 2003 - Creating Frames And Framesets Tutorials
Комментариев нет:
Отправить комментарий