Hallo,
habe ein GMENU erstellt und es funktioniert soweit auch ganz gut. Doch wenn ich auf einen Link klicke, wo sich die 2. Ebene ausfahren soll, passiert einfach nix. Kann mir da jemand einen Tipp geben?
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76:
| lowermenu = HMENU lowermenu { special = directory special.value = 21 wrap = 1 = GMENU 1.NO = 1 1.NO { XY = 155,25 backColor = #2d3188 10 = IMAGE 10 { file = GIFBUILDER file { XY = 155,25 format = jpg quality = 70 backColor = #2d3188 10 = BOX 10 { dimensions = 0,0,155,25 color = #3d9ad2 } 20 = BOX 20 { dimensions = 0,0,155,24 color = #2d3188 } } } 20 = TEXT 20 { text.field = title fontColor = #3d9ad2 fontFile = fileadmin/templates/fonts/arial.ttf fontSize = 12 niceText = 1 offset = 1, 17 } } 1.RO < .1.NO 1.RO.10.file.20.color = #000756 1.CUR < .1.RO 1.CUR.noLink = 1 1.IFSUB < .1.NO 1.IFSUB.10.file.30 = TEXT 1.IFSUB.10.file.30 { text = + fontColor = #3d9ad2 fontFile = fileadmin/templates/fonts/arial.ttf fontSize = 9 niceText = 0 offset = 135,15 } 1.IFSUBRO < .1.IFSUB 1.IFSUBRO.10.file.20.color = #000756 1.ACT < .1.RO 2 = GMENU 2.NO < .1.NO 2.NO.XY = 145,18 2.NO.20.offset = 35,16 2.NO.20.fontSize = 9 2.NO.10.file.10.dimensions = 0,0,145,18 2.NO.10.file.20.dimensions = 0,0,145,17 2.RO < .2.NO 2.RO.10.file.20.color = #ecc377 2.CUR < .2.RO 2.CUR.noLink = 1 } |
bin für jeden Tipp dankbar.
Gruß Steffen
P.S.: Also wenn ich ein 1.expAll = 1 hinzufüge, bringt er mir ja die 2. Ebene, aber das ist nicht das was ich will, sondern nur wenn man draufklickt. Also per Klick auf das Menufeld, welches unterpunkte besitzt, sollen diese dann erscheinen.