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 HTML Head

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

Unit Variables
VAR Value Description
UNIT_HEADER Path to included document If included, the wrapper implements the file WITHIN the Document HEAD, directly underneath UNCG Global Stylesheets

To create a custom Unit HTML header file, create a file containing valid XHTML. 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>.

UNIT_HEADER can be a unit's most powerful tool for customization. Any valid XHTML that can exist within a document's HEAD, such as meta tags, links to stlyesheet or javascript files or even style and script tags, can be placed in the file:

<meta name="author" content="AUTHOR'S NAME" />
<link rel="shortcut icon" href="PATH TO ICON" />
<!-- UNIT STYLESHEETS -->
<link rel="stylesheet" type="text/css" media="screen" href="PATH TO UNIT SCREEN STYLESHEET" />
<link rel="stylesheet" type="text/css" media="print" href="PATH TO UNIT PRINT STYLESHEET" />

<style type="text/css">
UNIT SPECIFIC STYLES
</style>
unit_header.html

Place the file in your unit's inc_unit directory.

Implement the UNIT_HEADER variable in your unit_variables.html page and designate the file via it's path as the value of the variable.

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

<meta name="author" content="Lew Leftward, OLH, UNCG" />
<link rel="shortcut icon" href="http://www.uncg.edu/favicon.ico" />
<!-- UNIT STYLESHEETS -->
<link rel="stylesheet" type="text/css" media="screen"
      href="http://www.uncg.edu/olh/inc_unit/style/olh-screen.css" />
<link rel="stylesheet" type="text/css" media="print"
      href="http://www.uncg.edu/olh/inc_unit/style/olh-print.css" />

<style type="text/css">
h1 {font-family:Arial, sans-serif;color:#900;}
</style>
/olh/inc_unit/unit_header.html

The Office for Left-handed Students implements the UNIT_ADMIN 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_HEADER"   value="/olh/inc_unit/unit_header.html" -->
/olh/inc_unit/unit_variables.html
unit header example
 

Page updated: 12-May-2005

Accessibility Policy

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