Zum Inhalt springen

Rollover im GMENU wird nicht angezeigt

Erstellt am 5. April 2007 · 6 Antworten · letzte Antwort am 9. April 2007

Tags: Frage

Faircamion ·

Hallo, kann mir jemand sagen warum mein Rollover nicht angezeigt wird?

temp.MenuLinks= HMENU 
temp.MenuLinks {
   special = directory
   special.value = 83
   entryLevel = 0
   1 = GMENU
   1.NO = 1
   1.NO {
      wrap = |<br />
      XY = 150, 24+[16.h]
      backColor = #f3f4f6

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdana.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 14, 16

      15 < .10
      15.text.listNum = 1
      15.offset = 14, 32

      16 < .10
      16.text.case = upper
      16.text.listNum = 1
      16.fontSize = 22
      16.offset = 1000,1000

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }

   1.RO < .1.NO
   1.RO.fontFile = fileadmin/fonts/verdanab.ttf

   2 < .1
   2.NO.backColor 0 #d1d1d1

   2.RO < .2.NO
   2.RO.fontFile = fileadmin/fonts/verdanab.ttf

   3 < .1
   3.back.Color = #bfbaba

   3.RO < .3.NO
   3.RO.fontFile = fileadmin/fonts/verdanab.ttf
   }
lgkf ·

Das RollOver ist nicht aktiviert - denk ich mal.
unter Zeile 43 ergänzen:
1.RO=1
und entsprechend für die anderen Ebenen

Faircamion ·

mmmh, das hat nicht wirklich was geändert.
Dadurch funktioniert es immer noch nicht

Was mir aber gerade auffällt ist, das auch alle anderen Ebenen, die ich mit < kopiere nich erkannt werden. Die 2 Ebene sollte eigentlich ne andere Hintergrundfarbe haben, wird aber mit der gleichen wie die erste angezeigt.

Faircamion ·

Selbt, wenn ich die ebenen nicht per < kopieren lasse, sondern sie selber kopiere funktioniert der rollover nicht, act aber schon. Zudem werden jetzt die unterpunkte der menüs nicht mehr angezeigt!

temp.MenuLinks= HMENU 
temp.MenuLinks {
   special = directory
   special.value = 83
   entryLevel = 0
   1 = GMENU
   1.NO = 1
   1.NO {
      wrap = |<br>
      XY = 150, 24+[16.h]
      backColor = #eeeef0

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdana.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 14, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdana.ttf
      15.fontSize = 12
      15.niceText = 1
      15.offset = 14, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdana.ttf
      16.fontSize = 22
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }

   1.RO = 1
   1.RO {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #eeeef0

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdanab.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 14, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdanab.ttf
      15.fontSize = 12
      15.niceText = 1
      15.offset = 14, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdanab.ttf
      16.fontSize = 22
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }

      1.ACT = 1
      1.ACT {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #eeeef0

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdanai.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 14, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdanai.ttf
      15.fontSize = 12
      15.niceText = 1
      15.offset = 14, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdanai.ttf
      16.fontSize = 22
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }
      

      2.NO = 1
      2.NO {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #d1d1d1

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdana.ttf
      10.fontSize = 11
      10.niceText = 1
      10.offset = 24, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdana.ttf
      15.fontSize = 11
      15.niceText = 1
      15.offset = 24, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdana.ttf
      16.fontSize = 20
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }

      2.RO = 1
      2.RO {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #eeeef0

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdanab.ttf
      10.fontSize = 11
      10.niceText = 1
      10.offset = 24, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdanab.ttf
      15.fontSize = 11
      15.niceText = 1
      15.offset = 24, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdanab.ttf
      16.fontSize = 20
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }
   
      2.ACT = 1
      2.ACT {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #eeeef0

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdanai.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 24, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdanai.ttf
      15.fontSize = 11
      15.niceText = 1
      15.offset = 24, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdanai.ttf
      16.fontSize = 20
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }


      3.NO = 1
      3.NO {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #bfbaba

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdana.ttf
      10.fontSize = 11
      10.niceText = 1
      10.offset = 34, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdana.ttf
      15.fontSize = 11
      15.niceText = 1
      15.offset = 34, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdana.ttf
      16.fontSize = 20
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }

      3.RO = 1
      3.RO {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #bfbaba

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdanab.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 34, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdanab.ttf
      15.fontSize = 11
      15.niceText = 1
      15.offset = 34, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdanab.ttf
      16.fontSize = 20
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }

      3.ACT = 1
      3.ACT {
      wrap = |<br>
      XY = 150, 24+[16.h]
      align = center
      backColor = #eeeef0

      10 = TEXT
      10.text.field = title
      10.text.listNum = 0
      10.text.listNum.splitChar = |
      10.fontColor = #000000
      10.fontFile = fileadmin/fonts/verdanai.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 34, 16

      15 = TEXT
      15.text.field = title
      15.text.listNum = 1
      15.text.listNum.splitChar = |
      15.fontColor = #000000
      15.fontFile = fileadmin/fonts/verdanai.ttf
      15.fontSize = 11
      15.niceText = 1
      15.offset = 34, 32

      16 = TEXT
      16.text.field = title
      16.text.listNum = 1
      16.text.listNum.splitChar = |
      16.fontColor = #000000
      16.fontFile = fileadmin/fonts/verdanai.ttf
      16.fontSize = 20
      16.niceText = 1
      16.offset = 1000, 1000
      16.text.case = upper

      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
         XY = 150,1
         backColor = #000000
         }
      20.offset = 0, 23+(16.h)
      }
    

   }
Faircamion ·

Hat da niemand ne Lösung zu?

Ich komme da einfach nicht weiter, der Rollover im Menü wird immer noch nicht angezeigt.

just2b ·

Hallo,

ich habe jetzt keinen Fehler gefunden, aber mach doch mal aus dem 300Zeilen-Menü ein 30-Zeilenmenü, nur mal eines, das garantiert funktioniert

temp.projmenu = HMENU
temp.projmenu {
	special = directory
	special.value = 7
	1=GMENU
	1 {
		noBlur = 1
		NO = 1    
		NO {	
			ATagTitle.field = title
			stdWrap.htmlSpecialChars = 1
			transparentBackground = 1
			backColor = #fde8ce

			XY=80,15

			10=TEXT
			10 {
				text.field=title
				offset=1,10
				fontColor = #808285
				fontFile=fileadmin/dev/fonts/FUTURAN.TTF
				# fontSize=11
				# changed kd20070301  
				fontSize= 12
			}
		}
		ACT <.NO
		ACT.10.fontColor = #000000
		RO <.ACT
		ACTRO <.RO
	}
}

georg

Faircamion ·

Na ja, mittlerweile hat mein Menü auch nur noch 60 Zeilen.
Aber auch bei deinem Menü funktioniert der Rollover nicht.

Das liegt vermutlich auch weniger am Rollover sondern an der kopie der jeweils übergeordneten ebene per <

denn in den zeilen 21-28 wird ein Zeilenumbruch beschrieben und der wird auch nicht ausgeführt

temp.MenuLinks= HMENU
temp.MenuLinks {
special = directory
special.value = 83
entryLevel = 0
1 = GMENU
1.NO = 1
1.NO {
wrap = |<br>
XY = 160, 24+[16.h]
backColor = #c7c1dd
10 = TEXT
10.text.field = title
10.text.listNum = 0
10.text.listNum.splitChar = |
10.fontColor = #006398
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontSize = 12
10.niceText = 1
10.offset = 14, 16
15 < .10
15.text.listNum = 1
15.offset = 14, 32
16 < .10
16.text.case = upper
16.text.listNum = 1
16.fontSize = 22
16.offset = 1000,1000
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 160,1
backColor = #FFFFFF
}
20.offset = 0, 23+[16.h]
}
1.RO < .1.NO
1.RO.10.fontFile = fileadmin/fonts/verdanab.ttf

2 < .1
2.NO {
backColor = #dedaeb
10.fontColor = #004a82
10.fontSize = 11
10.offset = 24, 16
}
2.RO < .2.NO
2.RO.10.fontFile = fileadmin/fonts/verdanab.ttf

3 < .1
3.NO {
backColor = #f4f2f8
10.fontColor = #003b77
10.fontSize = 11
10.offset = 34, 16
}
3.RO < .3.NO
3.RO.10.fontFile = fileadmin/fonts/verdanab.ttf

}