Using the Frameset Designer

The Frameset Designer is pretty straightforward. After all, most of the action happens in the frames themselves. However, you should be aware of a properties box and some menu choices before moving on to designing the frames themselves . Figure 10.4 shows the Frameset Designer with the properties box open to the Basics tab.

Figure 10.4. The Frameset Designer has four buttons to alter the appearance of the frames and frameset.

graphics/10fig04.jpg

Before you save your new frameset, you must name it and optionally provide an alias and title. The title can be plain text, as in this example, or you can write a formula to calculate the title. If you don't add a title, the frameset displays "Untitled" in the Window tab. For you HTML fans, this becomes the HTML page title, enclosed in the container tag

. Titles are displayed in the Window tab of the Notes client, as shown in Figure 10.5.

Figure 10.5. This figure shows a typical frameset with navigator, banner, and content frames. Note the name of the frameset, Example 1, in the Window tab.

graphics/10fig05.jpg

The HTML tab contains the standard settings and is not discussed here.

Using the View and Frame Menus

Whenever you work in a frameset, a new choice appears in the View menu and a new menu appears, the Frame menu. The View menu contains two options, Refresh All option and Show Frame Content. Refresh All refreshes the content of all frames within the frameset. Show Frame Content is a toggle that turns the display of the frame contents in the Frame Designer on and off. When it's turned on, you can see the pages and other objects that you are displaying in a frame "live." When it's turned off, frames display the background color with text indicating the content type and value of each frame. With Show Frame Content turned on, you can more easily adjust the sizes of the frames to fit the contents.

CAUTION

If you have Show Frame Content turned on and the contents of a frame consist of an Internet URL, that link is displayed in the frame during design. This is not a problem as long as you have a constant connection to the Internet, but if you have a dial-up connection, Domino dials your Internet service provider.

 

The Frame menu has the following choices:

  • Frameset Properties ” Displays the Frameset properties box.
  • Frame Properties ” Displays the Frame properties box for the selected frame.
  • Split into Columns ” Splits the selected frame into columns.
  • Split into Rows ” Splits the selected frame into rows.
  • Delete Frame ” Deletes the selected frame.
  • Refresh Frame Content ” Refreshes the content of the selected frame.
  • Remove Frame Content ” Removes the content of the selected frame.
  • Preview in Notes ” Launches the frameset in the Notes client. You are prompted to save any changes.
  • Preview in Web Browser ” Launches the frameset in the default Web browser. You are prompted to save any changes.

NOTE

You have much more control over the preview choices from the button bar than from the context menu. Because choosing a preview type is a single click on a button, it is also more efficient. From the button bar, you can see buttons for Notes Preview, Notes Browser Preview, Internet Explorer Preview (if installed), and Netscape Preview (if installed).

 

Four of the choices on the Frame menu have corresponding buttons in the Frameset Designer: Split into Columns, Split into Rows, Delete Frame, and Remove Frame Contents. Refresh Frame Content does not have a corresponding button. Refreshing the frame content is useful if you work on a page or other design element that you've linked in a frame while the Frameset Designer is open. To see the changes to the element, choose Refresh Frame Content.

TIP

You can right-click a frame in the Frameset Designer. A context menu is displayed with the same menu choices. For example, you can refresh the content of an individual frame by right-clicking the frame and choosing Refresh Frame Content from the context menu.

 

The Frameset Designer has six buttons, only two of which aren't available from the Frames menu:

  • Save Frameset ” Saves the frameset
  • Flip Horizontally ” Switches the positions of two frames that are beside each other

CAUTION

As of this writing, the Flip Horizontally button flips all horizontally adjacent frames in a frameset. For example, if you have four frames, the two on the right will now be on the left, and the two on the left will now be on the right.

 

Splitting Frames in a Frameset

You are by no means limited to the 12 basic layouts, nor are you limited to the number of frames in the Create New Frameset window. When you've created a basic frameset, you can split any frame into new frames either vertically (Split into Columns) or horizontally (Split into Rows). For example, you could start with the basic three-paned layout shown in Figure 10.5 and add a frame to the upper-right corner for a logo. To do this, click in the topmost frame, the "banner" frame. You should notice that the frame has a thick gray border when selected, so you can always tell which frame you're working with. Click the Split into Columns button, and a new frame is added to the right of the existing frame (see Figure 10.6).

Figure 10.6. The top frame has been split vertically into two frames. The thick bar in the frame at the upper right indicates that it is the frame currently selected.

graphics/10fig06.jpg

TIP

You can also use another frameset in a frame to give additional flexibility and more frames.

 

The sizes of each frame can be easily changed as well. Simply grab the frame border with the mouse, and click and drag it to the desired position. You can also alter the size of frames using the Frame properties box, which is discussed next in the section titled "Working with Frames."

Now that you've learned how to create a basic frameset, add new frames, and resize the existing frames, you're ready to begin working with the contents of the frames themselves.

Part I. Introduction to Release 6

Whats New in Release 6?

The Release 6 Object Store

The Integrated Development Environment

Part II. Foundations of Application Design

Forms Design

Advanced Form Design

Designing Views

Using Shared Resources in Domino Applications

Using the Page Designer

Creating Outlines

Adding Framesets to Domino Applications

Automating Your Application with Agents

Part III. Programming Domino Applications

Using the Formula Language

Real-World Examples Using the Formula Language

Writing LotusScript for Domino Applications

Real-World LotusScript Examples

Writing JavaScript for Domino Applications

Real-World JavaScript Examples

Writing Java for Domino Applications

Real-World Java Examples

Enhancing Domino Applications for the Web

Part IV. Advanced Design Topics

Accessing Data with XML

Accessing Data with DECS and DCRs

Security and Domino Applications

Creating Workflow Applications

Analyzing Domino Applications

Part V. Appendices

Appendix A. HTML Reference

Appendix B. Domino URL Reference



Lotus Notes and Domino 6 Development
Lotus Notes and Domino 6 Development (2nd Edition)
ISBN: 0672325020
EAN: 2147483647
Year: 2005
Pages: 288

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