[TYPO3] inserting attributes into <a>

sergio sergio at village-buzz.com
Tue May 6 19:52:37 CEST 2008


i am trying to get a template to work with typo3, and am having some  
difficulty...

with the template and css i am using, i need to have the class in the  
<a> tag change to "current"...

the snippet of the ts is attached to the bottom of this..

in the ACT section, this part:

ATagParams = class="current"

seems to have no effect..

if i remove it, and put it in the NO section, it has an effect..

anyone have any ideas?

thanks!


##### The Menu #####
	lib.menu = COA
	lib.menu.10 = HMENU
	lib.menu.10 {
		wrap = <div id="menubar"> | </div>
		entryLevel = 0
		1 = TMENU
		1 {
			noBlur = 1
			expAll = 1
			wrap = <ul id="menu"> | </ul>
			NO {
				linkWrap =  |
				wrapItemAndSub = <li> | </li>
			}
			
			ACT {
				ATagParams = class="current"				
				linkWrap =  |
				wrapItemAndSub = <li> | </li>
			}
		}
___
peace,
sergio
photographer, journalist, visionary
www.village-buzz.com





More information about the TYPO3-english mailing list