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

Nico Potvin nico.potvin at kandesign.com
Thu Oct 12 10:04:34 CEST 2006


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