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