Zum Inhalt springen

Menue Probleme

Erstellt am 8. August 2005 · 3 Antworten · letzte Antwort am 9. August 2005

Tags: Frage

Focus3 ·

Hallo,
ich habe mir dieses Menu gebastelt und das funktioniert auch.

#--------Menue Links--------
 MENU_LINKS = HMENU
 MENU_LINKS.special = directory
 MENU_LINKS.special.value = 5
 MENU_LINKS.entryLevel = 1
 MENU_LINKS.1 = GMENU
 MENU_LINKS.1.NO = 1
 MENU_LINKS.1.NO {
  wrap = |<br />
  XY = 146, 30
  backColor = #478951
  10 = TEXT
  10.text.field = title
  10.fontColor = #FFFFFF
  10.fontFile = fileadmin/fonts/arialb.ttf
  10.fontSize = 22
  10.niceText = 1
  10.offset = 7, 19
  20 = IMAGE
  20.file = GIFBUILDER
  20.file {
  XY = 146,1
  backColor = #FFFFFF
 }
 20.offset = 0, 29
 }
 MENU_LINKS.1.RO < .MENU_LINKS.1.NO
 MENU_LINKS.1.RO {
  tmp < .backColor
  backColor = #82BC8B
  5 < .10
  5.fontColor < .tmp
  5.offset = 8,22
 }
 MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
 MENU_LINKS.2 < .MENU_LINKS.1
 MENU_LINKS.2 {
   NO.backColor = #E2F5E5
   NO.10.fontColor = #478951
   NO.20.file.backColor = #478951
   RO < .NO
   RO.backColor = #FFFFFF
   RO.5 >
   CUR < .RO
 }

Nun will ich gern das das Menu oben auch mit dem GIFBUILDER ein Menue von links nach rechts erzeugt. Leider haben meine Versuche bis jetzt nicht geklappt. Kann einer weiterhelfen?

#--------Menue Oben--------
 MENU_OBEN = HMENU
 MENU_OBEN.special = directory
 MENU_OBEN.special.value = 8
 MENU_OBEN.1 = TMENU
 MENU_OBEN.1.NO = 1
 MENU_OBEN.1.NO.ATagParams = class="linkWeiss"
 MENU_OBEN.1.NO.linkWrap =  | |
Fabian-K ·

Hi!
Du kannst ja meinen Code etwas abaendern, dann sollte es klappen.. is kein grosser Aufwand aber ich bin momentan etwas faul weil Kaffee alle is.. 😉

  # Rootline-Menu
temp.ROOTLINEMENU = HMENU
temp.ROOTLINEMENU {
  entryLevel = 1
  special = rootline
  special.range = 1|-0
  1 = IMGMENU
  1 {
    entryLevel = 1
    #maxItems = 2
    main.5 = IMAGE
    main.5.file = fileadmin/template/Landesbuehne/images/root_bg.jpg
    main.XY = 750,20
    dWorkArea = 0,7
    NO {
      #distrib = textX+20, 0
      distrib = textX, 0
      10 = TEXT
      10 {
        text.field = title
        #text.wrap = |&nbsp;>&nbsp;
        text.wrap = |&nbsp;&raquo;&nbsp;|*||&nbsp;&raquo;&nbsp;|*||
        fontFile = fileadmin/fonts/FagoNoBold-RomanTf.ttf
        fontSize = 11
        fontColor = black
        niceText = 1
        #offset = 15,8
        offset = 5,8
        imgMap.explode = 2,2
      }
    }
  }
}
Focus3 ·

danke, es hat fast alles geklappt - nur den Hintergrund hätte ich gern in einer anderen Farbe.
z.B: backcolor = #000000 an welche Pos. schreibe ich das?

# Rootline-Menu
      MENU_OBEN = HMENU
      MENU_OBEN {
        entryLevel = 1
        #special = rootline
        #special.range = 1|-0
        special = directory        
        special.value = 74
        1 = IMGMENU
        1 {
          entryLevel = 1
          #maxItems = 2
          main.5 = IMAGE
          #main.5.file = fileadmin/template/Landesbuehne/images/root_bg.jpg
          main.XY = 350,20
          dWorkArea = 0,7
          NO {
            distrib = textX+10, 0
            #distrib = textX, 0
            10 = TEXT
            10 {
              text.field = title
              #text.wrap = | > 
              #text.wrap = | » |*|| » |*||
              fontFile = fileadmin/fonts/bastard.ttf
              fontSize = 20
              fontColor = #0099CC              
              niceText = 1
              #offset = 15,8
              offset = 5,8
              imgMap.explode = 2,2
            }
          }
        }
      }
Focus3 ·

Hallo Fabian,
kannst du mir vielleicht beim Hintergrund noch helfen? Ich weiß nicht wo genau ich die Hintergrundfarbe definiere. Danke