[TYPO3] setting different styles for the first and last item in a menu..
Klaus Musset
portacom at web.de
Thu Oct 12 10:18:41 CEST 2006
Check the TSRef 'option split' -> it's 'allwrap' and 'wrap' with these
parameters with '||'
It's pretty tricky.
Check TS by example ->
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/current/
Good luck
Klaus
Nico Potvin schrieb:
> 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