Benutzer: Gast
Eintrag: Navigation zwei Ebenen (zwei Marker)

Navigation zwei Ebenen (zwei Marker)

von: marcel
Kreise: Typo3
Code: TypoScript (TS)
lib.naviMain = COA
lib.naviMain {
  wrap = <div id="naviMain">|</div>
  
  10 = TEXT
  10.value = <div class="lvl1Wrap clear">
  
  20 = HMENU
  20 {
    wrap = <ul class="lvl1 clear">|</ul>
    maxItems = 4
    1 = TMENU
    1 {
      
      expAll = 1
      NO {
        wrapItemAndSub = <li class="first lvl1">|</li> |*| <li class="middle lvl1">|</li> |*| <li class="last lvl1">|</li>
        stdWrap.htmlSpecialChars = 1
        ATagParams = class="lvl1 no"
        ATagTitle.field = subtitle
      }
      
      CUR < .NO
      CUR = 1
      CUR {
        wrapItemAndSub = <li class="first lvl1 cur">|</li> |*| <li class="middle lvl1 cur">|</li> |*| <li class="last lvl1 cur">|</li>
        ATagParams = class="lvl1 cur"
      }
      
      CURIFSUB < .NO
      CURIFSUB = 1
      CURIFSUB {
        wrapItemAndSub = <li class="first lvl1 curIfSub">|</li> |*| <li class="middle lvl1 curIfSub">|</li> |*| <li class="last lvl1 curIfSub">|</li>
        ATagParams = class="lvl1 curIfSub"
      }
      
      ACT < .NO
      ACT = 1
      ACT {
        wrapItemAndSub = <li class="first lvl1 act">|</li> |*| <li class="middle lvl1 act">|</li> |*| <li class="last lvl1 act">|</li>
        ATagParams = class="lvl1 act"
      }
      
      ACTIFSUB < .NO
      ACTIFSUB = 1
      ACTIFSUB {
        wrapItemAndSub = <li class="first lvl1 actIfSub">|</li> |*| <li class="middle lvl1 actIfSub">|</li> |*| <li class="last lvl1 actIfSub">|</li>
        ATagParams = class="lvl1 actIfSub"
      }
    }
  }
  
  30 = TEXT
  30.value = </div>
  
  40 = TEXT
  40.value = <div class="lvl2Wrap clear"><div class="line"></div>
  
  50 = HMENU
  50 {
    
    entryLevel = 1
    
    1 = TMENU
    1 {
      
      wrap = <ul class="lvl2">|</ul>

      NO {
        wrapItemAndSub = <li class="first lvl2">|</li> |*| <li class="middle lvl2">|</li> |*| <li class="last lvl2">|</li>
        stdWrap.htmlSpecialChars = 1
        ATagParams = class="lvl2 no"
        ATagTitle.field = subtitle
      }
      
      CUR < .NO
      CUR = 1
      CUR {
        wrapItemAndSub = <li class="first lvl2 cur">|</li> |*| <li class="middle lvl2 cur">|</li> |*| <li class="last lvl2 cur">|</li>
        ATagParams = class="lvl2 cur"
      }
      
      CURIFSUB < .NO
      CURIFSUB = 1
      CURIFSUB {
        wrapItemAndSub = <li class="first lvl2 curIfSub">|</li> |*| <li class="middle lvl2 curIfSub">|</li> |*| <li class="last lvl2 curIfSub">|</li>
        ATagParams = class="lvl2 curIfSub"
      }
      
      ACT < .NO
      ACT = 1
      ACT {
        wrapItemAndSub = <li class="first lvl2 act">|</li> |*| <li class="middle lvl2 act">|</li> |*| <li class="last lvl2 act">|</li>
        ATagParams = class="lvl2 act"
      }
      
      ACTIFSUB < .NO
      ACTIFSUB = 1
      ACTIFSUB {
        wrapItemAndSub = <li class="first lvl2 actIfSub">|</li> |*| <li class="middle lvl2 actIfSub">|</li> |*| <li class="last lvl2 actIfSub">|</li>
        ATagParams = class="lvl2 actIfSub"
      }
    }
  }
  
  60 = TEXT
  60.value = </div>
}
Es gibt noch keine Kommentare.