Hallo Leute, brauche noch einen Tip: In einem GMENU wird der Hovereffekt zwar von TYPO3 korrekt gerendert, im HTML taucht auch alles so auf wie es das soll, nur der Browser stellt es nicht dar...
Folgendes TypoScript (TYPO3 4.1.1): ============================================= BUTTONS = COA BUTTONS { 20 = HMENU 20 { 1 = GMENU 1.NO = 1 1.NO { ATagParams = class="button-entries" transparentBackground = 1 XY = [30.w]+2 ,[30.h]+2 30 = TEXT 30 { text.field = title text.case = upper fontColor = #4A80A3 fontFile = fileadmin/domain.de/www/fonts/font.ttf fontSize = 12 align = center offset = 0,[30.h] niceText = 1 niceText.sharpen = 0 niceText.scaleFactor = 0 iterations = 0 antiAlias = 0 } } 1.RO < .1.NO 1.RO = 1 1.RO { 30.fontColor = #2c8a0F } } } ============================================= Folgendes HTML wird ausgegeben (nur die relevante Stelle): ============================================= [...] <script type="text/javascript"> /*<![CDATA[*/ <!-- // JS function for mouse-over function over(name,imgObj) { // if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");} else if (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");} else if (imgObj) {imgObj.src = eval(name+"_h.src");} } // JS function for mouse-out function out(name,imgObj) { // if (version == "n3" && document[name]) {document[name].src = eval(name+"_n.src");} else if (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");} else if (imgObj) {imgObj.src = eval(name+"_n.src");} } // --> /*]]>*/ </script> <script type="text/javascript"> /*<![CDATA[*/ <!-- if (version == "n3") { img202_99de_0_n=new Image(); img202_99de_0_n.src = "typo3temp/menu/1c4745f056.gif"; img202_99de_0_h=new Image(); img202_99de_0_h.src = "typo3temp/menu/2dd01962eb.gif"; img203_99de_1_n=new Image(); img203_99de_1_n.src = "typo3temp/menu/cb3b6ad861.gif"; img203_99de_1_h=new Image(); img203_99de_1_h.src = "typo3temp/menu/07ca6bdb80.gif"; } // --> /*]]>*/ </script> </head> <BODY> [...] <a href="http://www.domain.de/" onfocus="blurLink(this);" onmouseover="over('img202_99de_0');" onmouseout="out('img202_99de_0');" class="button-entries"><img src="typo3temp/menu/1c4745f056.gif" width="65" height="12" alt="Startseite" name="img202_99de_0" /></a><a href="testseite/" onfocus="blurLink(this);" onmouseover="over('img203_99de_1');" onmouseout="out('img203_99de_1');" class="button-entries"><img src="typo3temp/menu/cb3b6ad861.gif" width="57" height="12" alt="Testseite" name="img203_99de_1" /></a> ============================================= Vielleicht hat jemand eine Idee, warum im Browser (egal, welcher!) kein Hovereffekt angezeigt wird?? Ist schon sehr merkwürdig. Ruft man die einzelnen Grafiken auf (aus dem typ3temp-Verzeichnissen) ist jeweils einmal die blaue normale Version korrekt von TYPO3 gerendert worden und auch die grüne Variante (RO, rollover-Zustand). Die Grafiken sind also vorhanden, werden jedoch nicht im Browser angezeigt. Grüsse, Michael _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german