* New domain name for ikiwiki: ikiwiki.info. Update your links.
[ikiwiki.git] / doc / plugins / contrib / navbar.mdwn
1 [[template id=plugin name=navbar author="[[TobiOetiker]]"]]
2
3 The Navbar Plugin renders a Navigation Bar into your page. It is based on code
4 from the sidebar plug in see <http://ikiwiki.info/plugins/sidebar.html>
5 for details.
6
7 The plug in looks for a page called "navbar" 
8
9 This page must contain a itemized list of the form
10
11
12     * \[[Welcome|index]]
13     * \[[Management|mgmt]] 
14       * \[[Leadership|mgmt/lead]]       
15       * \[[Kidnapping|mgmt/kidnapping]]          
16     * \[[Information_Technology|it]]  
17       * \[[Windows|it/windows]]
18       * \[[Mobile_Communication|it/mobile]] 
19
20 This list will be turned into a folding menu structure
21
22 Include this into your templates.
23
24     <TMPL_IF NAVBAR> 
25     <div id="navbar">
26     <TMPL_VAR NAVBAR>
27     </div>
28     </TMPL_IF>
29
30
31 To make a nice menu, some css magic is required, but since this is required to make
32 ikiwiki look good anyway, I won't go into details here ... 
33
34 Tobi Oetiker 2006.12.30    
35
36 If you are interested in this, drop me a line tobi at oetiker dot ch