Displaying or Hiding Portlet Headers and Borders

10-26 Oracle Fusion Middleware Users Guide for Oracle Portal By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

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

the region is located. This opens the page in Edit mode.

5. Click the Edit Region icon in the relevant region

Figure 10–37 . Figure 10–37 The Edit Region Icon

6. On the resulting page, go to the Region Display Options section, and enter a

value in pixels in the Space Between [Portlets or Items] field. 7. Enter a value in pixels in the Space Around [Portlets or Items] field. 8. Click OK to save your changes and return to the page.

10.3 Working with Tabs

Tabs enable you to increase the amount of information on a page without increasing the amount of congestion. For example, suppose you want to create a home page for your entire user base. The information you want to provide encompasses several different areas, each of which is relevant to certain users: technical, human resources, marketing, and finance. To present all of the information on one page, you can place each area of focus on its own tab Figure 10–38 : Figure 10–38 Four Tabs A tab can be in one of two states: active or inactive. An active tab is a tab that is currently selected within a tab set. In Figure 10–38 , the Technical tab is the active tab. The rest of the tabs are inactive. You can specify different colors, fonts, and images for active and inactive tabs. How you use tabs depends on how you plan to implement navigation within your portal. Tabs offer a simple way to deploy a tab-set navigation model that includes many of the same capabilities available with a page. The Oracle Portal tab feature is just one way of realizing a tab set in your portal design. Using standard HTML techniques in combination with portal pages, you can implement many others. For example, use JavaScript to create an effect that visualizes portal pages and sub-pages as a series of tabs in a tab set. For more information about navigation, see Chapter 13, Designing Your Portal’s Navigation . For information about securing a tab, see Chapter 17, Protecting Your Content . This section explores some of the ways you can work with tabs using the inherent capabilities of Oracle Portal. It includes the following subsections: ■ Section 10.3.1, Adding a Tab to a Page ■ Section 10.3.2, Naming a Tab ■ Section 10.3.3, Rearranging the Order of Tabs in a Region Working with Layouts 10-27 ■ Section 10.3.4, HidingShowing Tabs ■ Section 10.3.5, Changing the Alignment of Tabs ■ Section 10.3.6, Changing a Tab Image ■ Section 10.3.7, Adding a Rollover Effect to Tabs ■ Section 10.3.8, Deleting Tabs

10.3.1 Adding a Tab to a Page

To add a tab to a page: 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 on which to add a tab. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

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

which to add a tab. This opens the page in Edit mode.

5. In the region on which to add a tab, click the Add Tab icon.

The region now looks like Figure 10–39 . To add more tabs at the same level, click the Add Tab icon that displays to the side of the tab you just added Figure 10–39 . If you click the Add Tab icon under the tab, youll start another row of tabs under the first row that is, you will create sub-tabs. Figure 10–39 Creating a new tab at the same level The first tab you create on a region, contains the region. For example, when you click the Add Tab icon in an item region’s toolbar, the tab is created and it contains the item region from which it was created. The second and subsequent tabs that you create in the same tab set contain their own blank content regions. When you add a tab to a center-aligned region, the tab is initially centered—even though Center is not a tab alignment option. To change the alignment of the tab, edit the tab region and click OK. You may note that when you edit the tab region, left-alignment is already selected for the region. Nonetheless, the tab does not initially display left-aligned because it has taken its defaults from the region from which it was created. For information on changing tab alignment, see Section 10.3.5, Changing the Alignment of Tabs . If there is a portlet or item you want to display no matter what tab is active—say, a link to your corporate Web page—divide your page into two regions: one containing the portlet or item, the other containing the tabs Figure 10–40 .