[TYPO3-german] GMENU und transparenter Hintergrund

Peter Kühnlein peter at function2form.net
Sat Jun 16 18:04:17 CEST 2012


Guten Abend Liste,

ich steh mal wieder auf dem Schlauch. Für ein Menü soll ich (etwas 
antiquiert) runde Knöpfe einsetzen. Mach ich mit GMENU, klappt auch ganz 
gut - nur: die Ecken um die runden Knöpfe bleiben weiß. Ich hab etliches 
gegoogelt und bin mit folgendem TS rausgekommen

---(schnipsel)---
temp.menu_lll.1 = GMENU
temp.menu_lll.1.noblur = 1
temp.menu_lll.1 {
   entryLevel = 2
   NO {
     XY = 96,96
     10.align = center
     allWrap = <li class="top_item">|</li>
     5 = IMAGE
     5.file = fileadmin/pics/but_roun_no_96.png
     transparentBackground = 1
     backColor = #ffffff
     transparentColor=#ffffff
     transparentColor.nearest = 1
     10 = TEXT
     10.text.field = title
     10.fontFile = fileadmin/fonts/framd.ttf
     10.fontColor = #000000
     10.fontSize = 20
     10.antiAlias = 1
     10.offset = 0,50
     10.niceText = 0
   }
---(/schnipsel)---

Das Gleiche natürlich für RO und ACT. Im CSS für .top_item steht nochmal 
explizit background-color:none. In den original-PNGs sind natürlich die 
Ecken transparent... Alles für die Katz... Hat jemand von Euch einen Tipp?

Schönen Abend & Danke für die Hilfe im Voraus,
Peter

-- 

http://function2form.net
http://peter-kuehnlein.net

"The last line of the poem that goes, 'When your own heart asks,' is the secret principle of all the arts."
(Hagakure)



More information about the TYPO3-german mailing list