[TYPO3-german] GMENU  Problem
    Andreas Bachelor 
    t3 at werksseite.de
       
    Thu May 31 21:29:37 CEST 2007
    
    
  
Hallo Liste,
ich bin wahrscheinlich zu doof für typo3. Folgendes problem: Ich habe 
ein horizontales hauptmenü über max. 600px breite. Jeder Hauptpunkt hat 
ein vertikales Submenü. Ich möchte nun, dass die grafiken der ersten 
ebene die breite des längsten menüeintrages der zweiten ebene annehmen.
Das ganze soll so aussehen: http://ritmo.pimpmyfotos.de/ritmo.jpg
Imo siehts aber so aus: http://ritmo.pimpmyfotos.de/
Dieses ts habe ich bisher gebastelt:
lib.navigation = HMENU
lib.navigation {
  applyTotalH = 40
  useLargestItemX = 1
  useLargestItemY = 1
  entryLevel = 1
 1 = GMENU
 1 {
  expAll = 0
  wrap=  <table cellspacing="0" cellpadding="0" 
width="600"><tr>|</tr></table>
  NO = 1
  NO {
    allWrap = <td valign="top">|</td>
    XY = [20.w]+10,21
    backColor = #450805
    ATagParams = onfocus=blur(this)
    10 = IMAGE
    10 {
      file = fileadmin/templates/img/navbg.gif
    }
    20 = TEXT
    20 {
                text.field=title
                text.postUserFunc = tx_utf8_pi1->encode
                offset=5,17
                spacing = 0
                fontColor = #ffcc99
                fontFile=fileadmin/fonts/OratorStdBold.ttf
                fontSize=13
                antiAlias = 1
            }
  }
  ACT < .NO
  ACT {
    allWrap = <td valign="top">|
    10 >
    20 = TEXT
    20 {
      fontColor = #FFFFFF
    }
  }
  RO < .NO
  RO {
    10 >
    20 = TEXT
    20 {
      fontColor = #FFFF00
    }
  }
 }
  2 < .1
  2 {
    applyTotalH = 40
    useLargestItemX = 1
    useLargestItemY = 1
    expAll = 1
    wrap = <table cellspacing="0" cellpadding="0">|</table></td>
    NO = 1
    NO {
      allWrap = <tr><td>|</td></tr>
    }
  }
}
(Die farben stimmen noch nicht, also nicht dran stören)
Ich häng da jetzt schon ne woche dran. Ich wäre echt dankbar wenn mir da 
einer einen tipp geben könnte.
Besten Dank und Gruß
Andi
    
    
More information about the TYPO3-german
mailing list