hi all (me again sorry) anyone generated vertical menu with category headers between links?
i was looking at annets post on how to generate menus http://groups.google.com/group/web2py/browse_thread/thread/9dc3b60c529a04e9 and got my own menu going using a controller with css and view. but i cant find way to make menu to have headers between links like, ********** header eg cars ********** link link link ********** header eg bikes ********** link link link I'm making menu in controller like this app=request.application response.menu=[ ['home',request.function=='index','/%s/default/index'%app], and view is like this {{if response.menu:}} <div class="mymenu"> <ul> {{for name,active,link in response.menu:}} <li {{if active:}}id="mymenu-active"{{pass}}> <a href="{{=link}}">{{=name}}</a> </li> {{pass}} </ul> </div> {{pass}} but it doesnt have headers so looks too many links to user. i can add headers by building static menu and putting it in every view but too painful to update! and i'm too new to try T2 and it looks too new too and best i learn how to code my own magic first instead use T2s menu magic! again sorry for easy question for you pros!! someone must have done already bcoz very popular menu?? thx --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---