Zum Inhalt springen

Probleme mit GMENU_LAYER

Erstellt am 21. September 2005 · 2 Antworten · letzte Antwort am 27. September 2005

Tags: Frage

_aenima_ ·

Servus,

ich hab ´n GMENU_LAYER erstellt und hab, wie einige andere auch, das Problem, daß die zweite Menüebene in fast jeden Browser anders positioniert is. Hab dieses Problem schon ma gepostet hat aber niemand geantwortet. Is echt ne wichtige Sache. #paralyzed#

Ich hab schon gehört daß es irgendwie mit dem Tabellenaufbau zu tun haben könnte...?! hab echt keine Ahnung was ich falsch gemacht hab.

Hab jetz ma das Script dazugepostet, sorry sieht ´n bissl wüst aus..funtioniert aber bis auf die Poition tadellos.

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/template/index.html


marks.MENU_TOP2 = HMENU
marks.MENU_TOP2 {

               1 = GMENU_LAYERS
	       1 {
                      
                      layerStyle = position:absolute; width:100px; VISIBILITY:hidden;
                      relativeToParentLayer=1
                      relativeToTriggerItem=1                       
                      xPosOffset = -279
                      lockPosition = x
                      topOffset = 31
                      hideMenuWhenNotOver = 50
                      expAll = 1

			wrap = <table align="left" cellspacing="0" cellpadding="0" border="0"><tr>|<tr></table>
			displayActiveOnLoad = 0
			NO {
			  
                           backColor=#23446c
 			   wrap= <th>|</th>
			   XY =[10.w]+25, 25
			   
			   10 = TEXT
			   10 {
 fontFile = fileadmin/fonts/verdana.ttf
			      fontSize = 14
			      fontColor = #FFFFFF
			      text.field=title
			      offset=7,17
			      niceText = 0
			      antiAlias= 1
			      
             		      }	
			   #20 < .10
 			   }
			
			RO < .NO
			RO=1
			RO {

                            1 = BOX
                            1.dimensions = 0, 0, 1, 25
                            1.color = white  

			   backColor=#4d80c1
			   10 {

			      fontColor=#ffffff
			      niceText = 0
			      antiAlias= 1

			      }
			    
                              #20 < .10
	 		    
                             }
			
			ACT < .NO
			ACT=1
			ACT {
                            
                            1 = BOX
                            1.dimensions = 0, 0, 3, 25
                            1.color = white  
			    
                            backColor=#4d80c1
			    10 {

			       fontColor=#ffffff
                               niceText = 0
			       antiAlias= 1

			       }

                               #20 < .10

			    }
			
         }


}      

#Menüleiste unten


marks.MENU_TOP2{

               2 = GMENU
 	       2 {
                        #useLargestItemY=1	
                        #useLargestItemX=1
			#wrap = <table cellspacing="0" cellpadding="0" border="0"><tr>|<tr></table>
			wrap = | <br />
			NO {
			   
                           backColor=#4d80c1
			   wrap= <th>|</th>
			   XY = 170, 20
			   
			   10 = TEXT
			   10 {
fontFile = fileadmin/fonts/verdana.ttf
			      fontSize = 12
			      fontColor = #FFFFFF
			      text.field=title
			      offset=7,14
			      niceText = 0
			      antiAlias= 1
			      
             		      }	
			    
 			   }
			
			RO < .NO
			RO=1
			RO {

                           1 = BOX
                           1.dimensions = 0, 0, 3, 25
                           1.color = #ffffff

			   backColor=#4d80c1
			   10 {

			      fontColor=#ffffff
			      niceText = 0
			      antiAlias= 1

			      }

                           # 20 < .10 			    

			    }
			
			ACT < .NO
			ACT=1
			ACT {

                            1 = BOX
                            1.dimensions = 0, 0, 3, 25
                            1.color = white  

			    backColor=#4d80c1
			    10 {

			       fontColor=#ffffff
                               niceText = 0
			       antiAlias= 1

			       }

                              # 20 < .10

			    }
			
	       }   
           

             }

}
_aenima_ ·

Dank,

ich habs mal rausgenommen, jetz isses anstatt auf der y-achse auf der x-achse verschoben , allerdings is das aber annehmbar. Vorher lag das Menu im Firefox über der Hauptebene was inakzeptabel is, das is nich mehr der Fall. Ich glaube auch daß es ein generelles Typo3 problem ist. Die verschiedenen Browser interpretieren diese menüs immer anders, was ja z.B bei java script nich der fall wäre, Egal ´s geht so.

Danke für deine Hilfe...

mfg | aenima