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 Menu

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

Unit Variables
VAR Value Description
UNIT_MENU Path to included document If included, the wrapper implements the content within the left-hand side navigational unit.

To create a custom Unit menu 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>.

NOTE The example below contains a block id necessary to receive Web3 stylistic preference.

<h1>UNIT NAME</h1>
<ol id="unitNav">
<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><a href="PATH TO OPTION FIVE">OPTION FIVE</a></li>
</ol>
unit_menu.html

Place the file in your unit's inc_unit directory.

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

<!--#set var="UNIT_MENU"   value="PATH TO unit_menu.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:

<h1>OFFICE FOR LEFT HANDED STUDENTS</h1>
<ol id="unitNav">
<li><a href="/olh/mission/">Our Mission</a></li>
<li><a href="/olh/services/">Our Services</a></li>
<li><a href="/olh/events/">Events &amp; Happenings</a></li>
<li><a href="/olh/resources/">Resources for Leftys</a></li>
</ol>
/olh/inc_unit/unit_menu.html

The Office for Left-handed Students implements the UNIT_MENU 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_MENU"   value="/olh/inc_unit/unit_menu.html" -->
/olh/inc_unit/unit_variables.html
unit menu example
 

Page updated: 12-May-2005

Accessibility Policy

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