[TYPO3] GMENU equivalent of innerwrap
Nikolas Hagelstein
hagelstein at shr.cc
Wed Feb 28 12:33:11 CET 2007
Hi there,
I am using gmenue in common with some fancy css effects therefore i need
to create something like the following :
<li><a><span><span><img></span></span></a></li>
The major problem is to place something between <a> and <img> since
GMENU isnt aware
of innerwrap or somthing similar.
ATM i solved it this way:
lib.main_menu = HMENU
lib.main_menu.1 = GMENU
lib.main_menu.1.wrap = <ul id="nav">|</ul>
lib.main_menu.1 {
expAll=1
noBlur = 1
NO {
noLink=1
XY = [10.w],26
transparentBackground = 1
allStdWrap.typolink.parameter.field= uid
allStdWrap.wrap = |*||*| <li>|</li> || <li class="last">|</li>
wrap= <span class="rtop"><span class="ltop">|</span></span>
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/templates/fonts/EXPERTSR.TTF
10.fontSize = 14
10.offset = 0,10
10.transparentBackground = 1
10.fontColor = #555555
10.align = center
}
}
But due to "noLink=1" RO isnt possible anymore :|.
Any hints on a rollover aware solution?
Cheers,
Nikolas
More information about the TYPO3-english
mailing list