[Typo3-german] Gmenu Activestate

Sauer, Peter psauer at suedostschweiz.ch
Fri Nov 11 14:00:30 CET 2005


Hallo Liste
Bin typo3-Newbie.
Habe mir ein Gmenu gebastelt.
Sieht auch vernünftig aus. http://newsite.psauer.ch

Nun will ich dass der menuPunkt aktive bleibt, damit ich sehen kann.
welchen Menupunkt ich angewählt habe. Kann auch einfach ein Symbol rechts daneben sein oder so.
Hatt da jemand eine Idee wie ich das machen kann?

Hier mein Setup

# Menu 1 cObject
temp.menu_1 = HMENU
temp.menu_1.entryLevel = 0
temp.menu_1.1 = GMENU
temp.menu_1.1.expAll = 1
temp.menu_1.1 {
    # Normal state properties
  NO{
  noLink = 1
  allWrap = <div class="menu1-level1-act"> | </div>
  stdWrap.htmlSpecialChars = 1
  XY = 90,20
  backcolor= white
  10 = TEXT
  10.text.field = title
  10.FontColor = #000000
  10.fontFile = fileadmin/Fonts/verdanab.ttf
  10.fontSize = 12
  10.fontWeight = normal
  10.antiAlias = 1
  10.niceFont = 1
  10.niceText = 1
  10.offset = 8, 12
  # gray box
  7 = BOX
  7.dimensions = 8,18,90,6
  7.color = #DFDFDF
# white box
  8 = BOX
  8.dimensions = 8,18,90,6
#  8.dimensions = 8,18,109,10
  8.color = #000000

# Enable active state and set properties:
## ACT = 1
## ACT.allWrap = <div class="menu1-level1-act"> | </div>
 SPC = 1
 SPC {
   doNotLinkIt = 1
  allWrap = <div style="visibility: hidden;"> | </div>
  } 
 }
}

# Second level menu-object, textual
# Second level menu-object, textual
temp.menu_1.2 = GMENU
temp.menu_1.2expAll = 1
temp.menu_1.2  {
# Normal state properties
   NO{
      allWrap = <div class="menu1-level2-no"> | </div>
      stdWrap.htmlSpecialChars = 1
#    XY = [20.w]+20,14
      XY = 120, 14
      noBlur
      backColor = white
      20 = TEXT
      20.text.field = title
      20.fontColor =  #333333
      20.fontFile = fileadmin/Fonts/verdana.ttf
      20.fontSize = 10
      20.antiAlias = 0
      20.niceText = 1
      20.niceText.scaleFactor = 5
      20.niceText.sharpen = 80
      20.offset = 8, 12
      30 = TEXT
      30.hide=1
      30.text.field = title
      30.fontFile = fileadmin/Fonts/verdana.ttf
      30.fontSize = 11
      30.niceText = 1
      30.niceText.scaleFactor = 5
      30.niceText.sharpen = 80
      30.offset = 8,12
        }  
      RO=1
      RO {
#      XY = [20.w]+150, 14
      XY = 120,14
      20 = TEXT
      20.text.field = title
      20.fontColor = #333333
      20.fontFile = fileadmin/Fonts/verdanab.ttf
      20.fontSize = 10
      20.niceText = 1
      20.niceText.scaleFactor = 5
      20.niceText.sharpen = 30
      20.offset = 8,12
      ACT= 1 
      #Enable active state and set properties:
      ACT.stdWrap.htmlSpecialChars = 1
      ACT.allWrap = <div class="menu1-level2-act"> | </div>
    }
}




More information about the TYPO3-german mailing list