Zum Inhalt springen

GMENU in TMENU in HMENU

Erstellt am 24. Oktober 2005 · 3 Antworten · letzte Antwort am 24. Oktober 2005

Tags: Frage

nex ·

Hallo Leute,

ohne viel zu erzählen... folgender Code wird zwar ausgeführt, doch die weiteren "marks" werden nicht geparst und Obejct Browser sagt "Line 336: An end brace is in excess."

NAV = HMENU
      NAV {
         special = directory
         special.value = 1
         entryLevel = 0
         1 = TMENU
         1 {
            noBlur = 1
            wrap = <ul id="ulNav">|</ul>
            expAll = 1
            NO = 1
            NO {
               wrapItemAndSub = <li id="liHome">|</li> || <li id="liFestival" class="off">|</li> || <li id="liCJN" class="off">|</li> || <li id="liRueckblick" class="off">|</li>
               ATagBeforeWrap = 1
               linkWrap = <span>|</span>
               ATagTitle.field = description
            }
            CUR < .NO
            CUR {
               wrapItemAndSub = <li id="liHome">|</li> || <li id="liFestival" class="on">|</li> || <li id="liCJN" class="on">|</li> || <li id="liRueckblick" class="on">|</li>
               doNotLinkIt = 1
               linkWrap = <strong><span>|</span></strong>
            }
            ACTIFSUB < .CUR
            ACTIFSUB {
               doNotLinkIt = 0
               linkWrap = <strong><span>|</span></strong>
            }
         }
         2 = GMENU
         2 {
            noBlur = 1
            wrap = <ul>|</ul>
            distributeX = 800
            NO = 1
            NO {
               allWrap = <li>|</li>
               XY = 100, 19
               backColor = #666666
               10 = TEXT
               10 {
                  text.field = title
                  text.case = upper
                  fontColor = #A0B314
                  fontFile = fileadmin/template/fonts/DinBold.ttf
                  fontSize = 10
                  niceText = 0
                  offset = 5, 14
               }
            }
            2.CUR < .2.NO {
               10.fontColor = #FFFFFF
            }
         }
      }
Norman2k ·

Und? Sollen wir jetzt suchen wo du eine } zu viel hast? Oder sollen wir für dich "Line 336: An end brace is in excess" ins deutsche übersetzen?
#giggle#

Norman

theo ·

Und warum glaubst Du der Fehlermeldung nicht?
Der Codeausschnitt oben ist ja sauber, also liegt die Zeile 336 wohl nicht darin... 😉