]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/contrib/navbar.mdwn
web commit by http://dalefarnsworth.myopenid.com/
[git.ikiwiki.info.git] / doc / plugins / contrib / navbar.mdwn
1 [[template id=plugin name=navbar author="[[TobiOetiker]]"]]
3 The Navbar Plugin renders a Navigation Bar into your page. It is based on code
4 from the sidebar plugin see <http://ikiwiki.info/plugins/sidebar.html>
5 for details.
7 The plugin looks for a page called "navbar" 
9 This page must contain a itemized list of the form
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]] 
20 This list will be turned into a folding menu structure
22 Include this into your templates.
24     <TMPL_IF NAVBAR> 
25     <div id="navbar">
26     <TMPL_VAR NAVBAR>
27     </div>
28     </TMPL_IF>
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 ... 
34 Tobi Oetiker 2006.12.30    
36 If you are interested in this, drop me a line tobi at oetiker dot ch