The wrapper system allows the web developer to include customized content on all pages of a unit.
| 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>.
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.
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:
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.
