Zum Inhalt springen

GMENU Popup

Erstellt am 4. Mai 2004 · Noch keine Antworten

Tags: Frage

Morden ·

Hi,

hab mir von der Musterseite einige Sachen rausgezogen.
Damit hab ich folgendes Menü gestrickt:

###Gmenu
temp.10 = HMENU
temp.10.excludeUidList = 8,9


temp.10.1 = GMENU
temp.10.1.target = _top
temp.10.1 {
  lockPosition = y
  yPosOffset = 45
  leftOffset = 120
  NO.wrap = &nbsp;|<BR>
  useLargestItemX = 1
  freezeMouseover=1
  hideMenuWhenNotOver = 10
  hideMenuTimer = 1000
  expAll=1
  NO {
      allWrap =  <br>
      ATagBeforeWrap = 0
      linkWrap= |&nbsp;&nbsp;&nbsp;<br>
      backColor = #ffffff
      transparentColor=#ffffff
      XY = 120, 18
      10 = TEXT
      10.text.field = title
      10.fontFile = t3lib/fonts/verdana.ttf
      10.fontColor = #000000
      10.fontSize = 13
      10.offset = 1, 13
      10.niceText = 1
      10.antiAlias = 1
  }
 
  ACT < .NO
  ACT = 1
  ACT.10.fontColor = red

  RO < .NO
  RO = 1
  RO.10.fontColor = #333333

}

Jetzt möchte ich aber, dass beim RO wie in den Beispielmenüs ein Popup mit der nächsten NAV-Ebene aufgeht.

Hier der Code, den ich einbauen möchte:

## GMENU_LAYERS
includeLibs.gmenu_layers = media/scripts/gmenu_layers.php

temp.popupMenu = HMENU
temp.popupMenu.1 = GMENU_LAYERS
temp.popupMenu.1.expAll=1
temp.popupMenu.1 {
  lockPosition = x
  xPosOffset = -0
  topOffset = 14
}
temp.popupMenu.1.NO {
  backColor = #cccccc
  XY = [10.w]+10, 14
  10 = TEXT
  10.text.field = nav_title // title
  10.offset = 5,10
}
temp.popupMenu.1.RO < temp.popupMenu.1.NO
temp.popupMenu.1.RO=1
temp.popupMenu.1.RO.backColor = #eeeeee

temp.popupMenu.2 = GMENU
temp.popupMenu.2.useLargestItemX = 1
temp.popupMenu.2.wrap = <nobr>|</nobr>
temp.popupMenu.2.NO {
  wrap = | <bR>
  backColor = #99cccc

  XY = [10.w]+10, 14
  10 = TEXT
  10.text.field = nav_title // title
  10.offset = 5,10
}
temp.popupMenu.2.RO < temp.popupMenu.2.NO
temp.popupMenu.2.RO=1
temp.popupMenu.2.RO.backColor = #cceeee

[...]

## type 41
pageT41 < page
pageT41 {
  typeNum = 41
  config.forceTypeValue = 41
  10.value = Alike T40. Here 'lockPosition' is set to blank and 'yPosOffset' set accordingly. This makes the menu 'slide' with the vertical movement of the cursor.<BR>Also the menu items in GMENU_LAYERS are made into a vertical menu.
}
pageT41.1.stdWrap.offsetWrap = 50,40
pageT41.1.1 {
  lockPosition =
  yPosOffset = 1
  leftOffset = 130

  NO.wrap = |<BR>
  useLargestItemX = 1
  freezeMouseover=1
  hideMenuWhenNotOver = 10
  hideMenuTimer = 1000
}




## type 42
pageT42 < pageT41
pageT42 {
  typeNum = 42
  config.forceTypeValue = 42
  10.value = Alike T41. But the menu is fixed again like the old T10+ 'series'. Just showing how this looks with a vertical menu!
}
pageT42.1.stdWrap.offsetWrap = 50,40
pageT42.1.1 {
  lockPosition = y
  yPosOffset = -45
}

Ich versteh nur nicht, wie ich das zusammenfügen muss. Im Beispiel wurde das Ganze über "page" definiert.

Wer kann mir hier einen Denkanstoss geben?