[TYPO3] GMENU equivalent of innerwrap

Peter Klein peter at umloud.dk
Wed Feb 28 16:07:38 CET 2007


Hi Nikolas.
You could (as I always do myself) convert your GMENU into a TMENU, and then 
use the beforImg & afterImg properties to do the GifBuilder stuff.

That way you have access to all the TMENU properties.

-- 
Peter Klein/Umloud Untd


"Nikolas Hagelstein" <hagelstein at shr.cc> skrev i en meddelelse 
news:mailman.45340.1172662397.21067.typo3-english at lists.netfielders.de...
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