]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/navbar.mdwn
web commit by TobiOetiker
[ikiwiki.git] / doc / plugins / contrib / navbar.mdwn
1 The Navbar Plugin renders a Navigation Bar into your page. It is based on code
2 from the sidebar plugin see http://ikiwiki.kitenet.net/plugins/sidebar.html
3 for details.
4
5 The plugin looks for a page called "navbar" 
6
7 This page must contain a itemized list of the form
8
9
10     * \[[Welcome|index]]
11     * \[[Management|mgmt]] 
12       * \[[Leadership|mgmt/lead]]       
13       * \[[Kidnapping|mgmt/kidnapping]]          
14     * \[[Information_Technology|it]]  
15       * \[[Windows|it/windows]]
16       * \[[Mobile_Communication|it/mobile]] 
17
18 This list will be turned into a folding menu structure
19
20 Include this into your templates.
21
22     <TMPL_IF NAVBAR> 
23     <div id="navbar">
24     <TMPL_VAR NAVBAR>
25     </div>
26     </TMPL_IF>
27
28
29 To make a nice menu, some css magic is required, but since this is required to make
30 ikiwiki look good anyway, I won't go into details here ... 
31
32 Tobi Oetiker 2006.12.30    
33