[TYPO3] menu

Tapio Markula tapio.markula at dnainternet.net
Sun Apr 30 09:48:54 CEST 2006


Artiom Lunev wrote:
> Hi,
> 
> I have a menu that constructed as a list of specified menu items.
> 
> For example:
> topMenu.special = list
> topMenu.special.value = 2,3,4,5
> 
> At the moment all links have same class attribute.
> How can I apply a different class attribute to page with PID 2 (for 
> example)?

You can set for every item own menu but IMO not reasonable.
Set stdWrad.dataWrap, when container elements of links have different 
class/id and each link has indirectly own class

NO.allWrap.dataWrap = <div class="link{field:uid}">|

remember add extra </div> for allWrap.
CSS:

.link2 a:link{...}
.link3 a:link {}

in practise the same as
a.link2:link {}
...



More information about the TYPO3-english mailing list