Web3 Wrapper System

  1. About the Wrapper
  2. Get Started
  3. Unit Customization
    1. Unit Goldbar
    2. Unit Navy Dropdown
    3. Unit Menu
    4. Unit Administration
    5. Unit HTML Head
  4. Page Customization
  5. Content Components
  6. Presentation/Style
  7. CSS Documentation
  8. User Support
  9. Units Implemented

Custom Unit Content: Unit Goldbar

The wrapper system allows the web developer to include customized content on all pages of a unit.

Unit Variables
VAR Value Description
UNIT_GOLDBAR Path to included document If included, the wrapper implements the content within the goldbar navigational unit.

To create a custom Unit goldbar file, create a file containing a valid XHTML Ordered List (OL). Please note: Because this file is going to be included INTO an existing web page, it does not require all the formal XHTML document tags, such as <html>, <head> and <body>.

<ol>
<li><a href="PATH TO OPTION ONE">OPTION ONE</a></li>
<li><a href="PATH TO OPTION TWO">OPTION TWO</a></li>
<li><a href="PATH TO OPTION THREE">OPTION THREE</a></li>
<li><a href="PATH TO OPTION FOUR">OPTION FOUR</a></li>
<li class="last"><a href="PATH TO OPTION LAST">OPTION LAST</a></li>
</ol>
unit_goldbar.html

NOTE The example above contains a Web3 stylistic preference. By default, any LI occuring within the uncgNav (Goldbar) block is stylized with a dotted right border. The presence of the CSS class="last" in the LI tag causes the browser to NOT give that specific LI a dotted right border.

Place the file in your unit's inc_unit directory.

Implement the UNIT_GOLDBAR variable in your unit_variables.html page and designate the file via its path as the value of the variable.

<!--#set var="UNIT_GOLDBAR"   value="PATH TO unit_goldbar.html" -->
unit_variables.html

The Office for Left-handed Students

Having decided to not utilize the default values for the Goldbar, and properly understanding the Web3 Unit Requirement's restrictions, the Office for Left-hand Students creates a custom Goldbar navigation:

<ol>
<li><a href="/olh/lefty/">ESPECIALLY FOR LEFTIES</a></li>
<li><a href="/olh/righty/">ESPECIALLY FOR RIGHTIES</a></li>
<li class="last"><a href="/olh/ambidextrous/">AMBIDEXTRI</a></li>
</ol>
/olh/inc_unit/unit_goldbar.html

The Office for Left-handed Students implements the UNIT_GOLDBAR variable in its unit_variables.html page and designates the file via it's path as the value of the variable.

<!--#set var="DEPT_NAME"      value="Office for Left-Handed Students" -->
<!--#set var="DEPT_ADDRESS"   value="EUC Suite 101" -->
<!--#set var="DEPT_PHONE"     value="336.344.LEFT" -->
<!--#set var="DEPT_FAX"       value="336.344.1111" -->
<!--#set var="DEPT_EMAIL"     value="lefty@uncg.edu" -->
<!--#set var="UNIT_NAME"      value="Left-Handed Students" -->
<!--#set var="UNIT_URL"       value="htp://www.uncg.edu/olh/" -->

<!--#set var="UNIT_GOLDBAR"   value="/olh/inc_unit/unit_goldbar.html" -->
/olh/inc_unit/unit_variables.html
unit goldbar example
 

Page updated: 12-May-2005

Accessibility Policy

Web Oversight Committee/Web3 Group
The University of North Carolina at Greensboro
Greensboro, NC 27402-6170