[TYPO3] setting different styles for the first and last item in a menu..

Tyler Kraft headhunterxiii at yahoo.ca
Thu Oct 12 10:16:21 CEST 2006


do you even have a copy of tsref?

Use option split.

 From looking at your code the problem is what happens when your on the 
first menu item and its the active one?



Nico Potvin wrote:
> Hi,
> 
> i am lookin for a way to render the following menu, the first and the 
> last item got to have another id than the middle menu items..
> 
> is this possible? i looked at the Tsref but couldn't find anything.
> i know how to set up the menu in typoscript.
> somehow the typoscript menu should alter the renderings for the first 
> and last item in the list.
> Every menu item also has an active state
> 
> it has to look something like this:
> 
> <ul>
>     <li id="start"><a href="#">Menu item1</a></li>
>     <li><a href="#">Menu item1</a></li>
>     <li id="active"><a href="#">Menu item1</a></li>
>     <li><a href="#">Menu item1</a></li>
>     <li><a href="#">Menu item1</a></li>
>     <li><a href="#">Menu item1</a></li>
>     <li id="menuend"><a href="#">Menu item1</a></li>
> </ul>
> 
> any ideas?
> 
> greets
> 
> nico
> 
> -- 
> Nico Potvin
> 
> KAN Design
> Antwerpen - Belgium
> Phone: +32 (0)3 203 41 69
> Fax: +32 (0)3 225 14 05
> E-mail: nico.potvin at kandesign.com
> http://www.kandesign.com
> 



More information about the TYPO3-english mailing list