[TYPO3] Menu Question

Michael Scharkow mscharkow at gmx.net
Tue Feb 14 11:13:48 CET 2006


LaPointe, Matthew wrote:
> after = |*||*|  ::  ||
> 
> If you want more spaces, add more  

A better solution would be to make the menu a simple list, as this is 
the best practice for menus and very flexible

lib.listmenu = HMENU
lib.listmenu {
1 = TMENU
1 {
       wrap = <ul>|</ul>
       noBlur = 1
     NO {
       wrapItemAndSub = <li>|</li>
       ATagTitle.field = description // title

     }
     CUR < .NO
     CUR = 1
     CUR.ATagParams = class="selected"
   }
}

You can style the margin between the list elements with CSS and not 
clutter the HTML. See listamatic for examples of horizontal menus with 
lists.

Cheers,
Michael



More information about the TYPO3-english mailing list