Benutzer: Gast
Eintrag: Navigation drei Ebenen (z.B. Pulldown-Navigation)

Navigation drei Ebenen (z.B. Pulldown-Navigation)

von: marcel
Kreise: Typo3
Code: TypoScript (TS)
lib.naviMain = HMENU
lib.naviMain {
  wrap = <ul id="naviMain" class="lvl1 noTouchScreen">|</ul>
  maxItems = 6
  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"
    }
  }
  
  2 = TMENU
  2 {
    wrap = <ul class="lvl2">|</ul>
    expAll = 1
    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"
    }
  }
  
  3 = TMENU
  3 {
    wrap = <ul class="lvl3">|</ul>
    expAll = 1
    NO {
      wrapItemAndSub = <li class="first lvl3">|</li> |*| <li class="middle lvl3">|</li> |*| <li class="last lvl3">|</li>
      stdWrap.htmlSpecialChars = 1
      ATagParams = class="lvl3 no"
      ATagTitle.field = subtitle
    }
    
    CUR < .NO
    CUR = 1
    CUR {
      wrapItemAndSub = <li class="first lvl3 cur">|</li> |*| <li class="middle lvl3 cur">|</li> |*| <li class="last lvl3 cur">|</li>
      ATagParams = class="lvl3 cur"
    }
    
    CURIFSUB < .NO
    CURIFSUB = 1
    CURIFSUB {
      wrapItemAndSub = <li class="first lvl3 curIfSub">|</li> |*| <li class="middle lvl3 curIfSub">|</li> |*| <li class="last lvl3 curIfSub">|</li>
      ATagParams = class="lvl3 curIfSub"
    }
    
    ACT < .NO
    ACT = 1
    ACT {
      wrapItemAndSub = <li class="first lvl3 act">|</li> |*| <li class="middle lvl3 act">|</li> |*| <li class="last lvl3 act">|</li>
      ATagParams = class="lvl3 act"
    }
      
    ACTIFSUB < .NO
    ACTIFSUB = 1
    ACTIFSUB {
      wrapItemAndSub = <li class="first lvl3 actIfSub">|</li> |*| <li class="middle lvl3 actIfSub">|</li> |*| <li class="last lvl3 actIfSub">|</li>
      ATagParams = class="lvl3 actIfSub"
    }
  }
}
Es gibt noch keine Kommentare.