Syntactic Confectionery Delight | |
PerlMonks |
Re: Thoughts on converting from HTML::Template to Template Toolkitby idsfa (Vicar) |
on Mar 22, 2006 at 23:29 UTC ( [id://538627]=note: print w/replies, xml ) | Need Help?? |
You are not thinking about your issue with the navigation bar correctly. You do not need to add certain sub-items depending upon the current page. You need to hide certain sub-items. Plain HTML/CSS example:
Renders as:
Even though this contains both submenus, only the first one gets displayed. Without knowing exactly what the generated HTML of you navbar looks like, I can only point to the general technique ... The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
In Section
Meditations
|
|