Changing a Region Name

Working with Layouts 10-9 ■ In the Width field, enter the width of the region in pixels a number, such as 20 or as a percentage of the overall width of the page a number and a percent sign, such as 20. ■ In the Height field, enter the height of the region in pixels. An empty region with a declared height is rendered with that height in both Edit and View modes. When a region height is not specified, an empty region does not take up any space in View mode. When you use an empty region as a spacer between other regions on the page, be sure to specify a region height.

7. Click OK to save your changes and return the page.

If you choose to have the width of some regions expressed in pixels and other regions on the same page expressed in percentages, the page may look slightly different in different browsers. If you enter a height or width of 1 in an attempt to make the region as small as possible, the region will nonetheless expand to display the full content of the region. If you add another region to the right or left of an existing region, the region widths are automatically reset to be equal. For example, if you have a page with two regions side-by-side, one with a width of 40 and the other 60, if you add a third region on the same line, all the regions will be reset to a width of 33. You might have a region configuration that looks something like Figure 10–12 : Figure 10–12 Region 1 Is Divided Horizontally, Then Vertically In this case, even if you set regions 1 and 3 to have different widths, the actual width of the column will be as wide as the widest region in that column. So if region 1 has a specified width of 40 and region 3 has a specified width of 20, when viewing the page, the column containing regions 1 and 3 will be 40 of the width of the page. Pixel widths take precedence over percentage widths. Therefore, if region 1 has a width of 40 and region 3 has a width of 200 pixels, when viewing the page, the column containing regions 1 and 3 will be 200 pixels wide. Note: You must include a percent sign if you want the number you enter to be interpreted as a percentage of page width rather than a number of pixels. 10-10 Oracle Fusion Middleware Users Guide for Oracle Portal

10.2.4 Displaying or Hiding Banners

A region banner is a rectangle of color that spans the width of a region and contains a heading. Region banners are useful for calling out a specific area on a page and identifying its purpose. In Oracle Portal, there are two types of banners available for use with regions: ■ Region banners display at the top of a region and, typically, include a meaningful region name Figure 10–13 . Both item and portlet regions use this type of banner. Figure 10–13 Region with Banner ■ Group By banners display over each group of items in a region and categorize the types of items that fall under it Figure 10–14 . Only item regions use this type of banner. Figure 10–14 Group By Banners Simple Text and Simple URL In Oracle Portal, you can specify whether a region should display one or the other or both of these types of banners. To display or hide banners:

1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page with region banners to show or hide. By default, the Page Groups portlet is located on the Build tab of the Portal Builder.

4. Under Pages in the Layout Appearance section, click the link to the page with

region banners to show or hide. This opens the page in Edit mode.

5. Click the Edit Region icon in the region with banners to show or hide

Figure 10–15 . Note: For more information about grouping items in a region, see Section 10.2.10, Grouping Items in a Region