[TYPO3] menuitem with id "menu<number>"

Dmitry Dulepov typo3 at accio.lv
Fri Aug 25 13:57:39 CEST 2006


Hi!


Stano Paška wrote:
> I know, this is trivial for you, but problem for me.
> I studied some snippets, but none does the same thing and I don't know how to reuse them.
> 
> I need "numbering" second level ul (to manipulate with javascript).
> <ul id="menu<number>">

Try something like

tmpl.vert_menu.2 {
   allStdWrap.dataWrap = <ul id="menu{register:count_MENUOBJ}">|</ul>
}

In general TSRef will help you to find property and register to use.


-- 
Dmitry Dulepov
http://typo3bloke.net/

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list