[TYPO3] TMENU with title and subtitle as tooltip
Gregor Kaczmarczyk
gregor at crazes.de
Wed Feb 1 18:08:03 CET 2006
hi,
i was diggin for hours, but didn´t found the correct solution...
TS code for menu:
#################
lib.subnav = HMENU
lib.subnav.entryLevel = 1
lib.subnav.1 = TMENU
lib.subnav.1 {
noBlur = 1
wrap = <ul>|</ul>
NO {
allWrap = <li>|</li>
stdWrap.innerWrap.field = subtitle
stdWrap.innerWrap.required = 1
stdWrap.innerWrap.wrap = <span class="tooltip">|</span>
}
}
lib.subnav.1.ACT < lib.subnav.1.NO
lib.subnav.1.ACT = 1
lib.subnav.1.ACT {
ATagParams = class="active"
}
output code:
############
<div id="subnav">
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#" class="active">Link 2</a></li>
<li><a href="#"><span class="tooltip">Tooltip 3</span>Link 3</a></li>
<li><a href="#">Link 4</a></li>
<li><a href="#">Link 5</a></li>
</ul>
</div>
the problem is in "Link 3".
how can i change the order of the links title and <span> with subtitle?
the result should look like:
############################
<div id="subnav">
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#" class="active">Link 2</a></li>
<li><a href="#">Link 3<span class="tooltip"> Tooltip 3</span></a></li>
<li><a href="#">Link 4</a></li>
<li><a href="#">Link 5</a></li>
</ul>
</div>
can anybody help?
ciao, gregor
More information about the TYPO3-english
mailing list