Back to Project List
The Occupy.net Navigation bar is a cross site/service header bar with links to other services. The "nav bar" is a requirement of all Occupy.net alpha services.
[edit] Current items
Navigation items on the nav bar
- Level 1
- Map
- Wiki
- Notes
- Level 2 (more...)
[edit] Use and Placement
The nav bar should be placed directly under the <body> tag using this javascript call:
<script type="text/javascript" src="https://nav.occupy.net/occupynet_nav.js"></script>
This code will call the occupynet_nav.js which renders the HTML and provides a link to occupynet_nav.css.
[edit] Future Plans
Some future plans include:
- Off site use. Sites can opt in to be part of the "Occupy.network" by adding this code to their site. The bar's behavior should change based on the base URL
- Custom links. By passing arguments to the javascript one can alter the default links
- Expanding behavior. Use of javascript/jquery to expand top nav and provide extra meta information about service, site, etc.