Hallo,
woran kann es liegen, dass mein grafisches Menü nicht im Firefox läuft?
Könnt Ihr mir hier weiterhelfen?
MENU_LINKS = HMENU
MENU_LINKS {
special = directory
special.value = 97
1 = GMENU
#1.expAll=1
1.NO = 1
1.NO {
XY = 200, 24
backColor = #88412B
#Text auf den Menüpunkt rendern
10 = TEXT
10.text.field = title
10.fontColor = #F1C355
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontSize = 14
10.niceText = 1
10.offset = 14, 16
#weisse Linie
20=IMAGE
20.file=GIFBUILDER
20.file{
XY=240,1
backColor=#D43607
}
20.offset=0, 23
}
1.RO < .1.NO
1.RO.backColor = #DE6E0C
}
}
Vielen Dank für einen Tip & Gruß
Wie sieht denn der Quelltext im FF aus?
Das wird jetzt ziemlich lang, aber das gehört alles zur Navigation:
<script type="text/javascript">
/*<![CDATA[*/
<!--
if (version == "n3") {
img98_a310_0_n=new Image(); img98_a310_0_n.src = "typo3temp/menu/64220188be.gif";
img98_a310_0_h=new Image(); img98_a310_0_h.src = "typo3temp/menu/20bb1e27be.gif";
img101_a310_1_n=new Image(); img101_a310_1_n.src = "typo3temp/menu/fe1239527b.gif";
img101_a310_1_h=new Image(); img101_a310_1_h.src = "typo3temp/menu/ba29307f7f.gif";
img123_a310_2_n=new Image(); img123_a310_2_n.src = "typo3temp/menu/06f9a7efe2.gif";
img123_a310_2_h=new Image(); img123_a310_2_h.src = "typo3temp/menu/9a3d2a6ae1.gif";
img114_a310_3_n=new Image(); img114_a310_3_n.src = "typo3temp/menu/7ffe183ee4.gif";
img114_a310_3_h=new Image(); img114_a310_3_h.src = "typo3temp/menu/583fad99f8.gif";
img122_a310_4_n=new Image(); img122_a310_4_n.src = "typo3temp/menu/84d9610d21.gif";
img122_a310_4_h=new Image(); img122_a310_4_h.src = "typo3temp/menu/f3ad1982fd.gif";
img99_a310_5_n=new Image(); img99_a310_5_n.src = "typo3temp/menu/08571d8375.gif";
img99_a310_5_h=new Image(); img99_a310_5_h.src = "typo3temp/menu/5a57b26c25.gif";
img100_a310_6_n=new Image(); img100_a310_6_n.src = "typo3temp/menu/c80570e1b7.gif";
img100_a310_6_h=new Image(); img100_a310_6_h.src = "typo3temp/menu/ad73670993.gif";
img124_a310_7_n=new Image(); img124_a310_7_n.src = "typo3temp/menu/6800515fd5.gif";
img124_a310_7_h=new Image(); img124_a310_7_h.src = "typo3temp/menu/63e8a5dbc6.gif";
img125_a310_8_n=new Image(); img125_a310_8_n.src = "typo3temp/menu/6c421c6556.gif";
img125_a310_8_h=new Image(); img125_a310_8_h.src = "typo3temp/menu/03524ac5a9.gif";
}
// -->
/*]]>*/
</script>
<script type="text/javascript">
/*<![CDATA[*/
<!--
function openPic(url,winName,winParams) { //
var theWindow = window.open(url,winName,winParams);
if (theWindow) {theWindow.focus();}
}
// 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>
</head>
<style type="text/css"><!-- body { background-color:#AE7041; background-image:url(fileadmin/bau/images/bau2.jpg); background-repeat:no-repeat; } --></style><body>
<div id="inhalt" style="position:absolute; width:1024px; height:600px; z-index:1; left: 50px; top: 120px;">
<table width="1024" border="0" marginheight="0" cellpadding="0" cellspacing="0" valign="top" align="center">
<tr>
<td valign="top" marginheight="0"></td>
<td width="6"></td><td width="150" valign="top">
<!-- -->
</td>
<td width="869"></td>
</tr>
</table>
<table border="0">
<tr>
<td width="200"></td>
<td width="700" valign="top" class="inhalt1">
<a href="94.0.html" onfocus="blurLink(this);">Generalübernehmer</a> | <a href="91.0.html" onfocus="blurLink(this);">Swisttal-Buschhoven</a> | <a href="92.0.html" onfocus="blurLink(this);">Impressum</a> | <a href="96.0.html" onfocus="blurLink(this);">Home</a>
</td></tr><tr><td valign="top" class="inhalt1" width="240"><br><br><a href="98.0.html" onfocus="blurLink(this);" onmouseover="over('img98_a310_0');" onmouseout="out('img98_a310_0');"><img src="typo3temp/menu/64220188be.gif" width="200" height="24" border="0" alt="Wie alles begann" name="img98_a310_0" /></a><a href="101.0.html" onfocus="blurLink(this);" onmouseover="over('img101_a310_1');" onmouseout="out('img101_a310_1');"><img src="typo3temp/menu/fe1239527b.gif" width="200" height="24" border="0" alt="Bautagebuch - Alles" name="img101_a310_1" /></a><a href="123.0.html" onfocus="blurLink(this);" onmouseover="over('img123_a310_2');" onmouseout="out('img123_a310_2');"><img src="typo3temp/menu/06f9a7efe2.gif" width="200" height="24" border="0" alt="Bautagebuch - Kapitel 3" name="img123_a310_2" /></a><a href="114.0.html" onfocus="blurLink(this);" onmouseover="over('img114_a310_3');" onmouseout="out('img114_a310_3');"><img src="typo3temp/menu/7ffe183ee4.gif" width="200" height="24" border="0" alt="Bautagebuch - Kapitel 2" name="img114_a310_3" /></a><a href="122.0.html" onfocus="blurLink(this);" onmouseover="over('img122_a310_4');" onmouseout="out('img122_a310_4');"><img src="typo3temp/menu/84d9610d21.gif" width="200" height="24" border="0" alt="Bautagebuch - Kapitel 1" name="img122_a310_4" /></a><a href="99.0.html" onfocus="blurLink(this);" onmouseover="over('img99_a310_5');" onmouseout="out('img99_a310_5');"><img src="typo3temp/menu/08571d8375.gif" width="200" height="24" border="0" alt="Grundriß & Pläne" name="img99_a310_5" /></a><a href="100.0.html" onfocus="blurLink(this);" onmouseover="over('img100_a310_6');" onmouseout="out('img100_a310_6');"><img src="typo3temp/menu/c80570e1b7.gif" width="200" height="24" border="0" alt="Bildergalerie" name="img100_a310_6" /></a><a href="124.0.html" onfocus="blurLink(this);" onmouseover="over('img124_a310_7');" onmouseout="out('img124_a310_7');"><img src="typo3temp/menu/6800515fd5.gif" width="200" height="24" border="0" alt="Gästebuch" name="img124_a310_7" /></a><a href="125.0.html" onfocus="blurLink(this);" onmouseover="over('img125_a310_8');" onmouseout="out('img125_a310_8');"><img src="typo3temp/menu/6c421c6556.gif" width="200" height="24" border="0" alt="Gästebucheintrag" name="img125_a310_8" /></a></td><td width="620" valign="top" class="inhalt1">
<br><br><a id="c97"></a><table width="211" border="0" cellspacing="0" cellpadding="0" align="right" class="imgtext-table"><tr><td rowspan="2" valign="top"><img src="clear.gif" width="10" height="1" alt="" title="" /></td><td colspan="1"><img src="clear.gif" width="200" height="1" alt="" /></td></tr><tr><td valign="top"><a href="index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2FP1010046.JPG&width=800m&height=600m&bodyTag=%3Cbody%20bgcolor%3D%22black%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=daea79d2efb456938648b8e3e3df1b4c" onclick="openPic('index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2FP1010046.JPG&width=800m&height=600m&bodyTag=%3Cbody%20bgcolor%3D%22black%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=daea79d2efb456938648b8e3e3df1b4c','thePicture','width=817,height=620,status=0,menubar=0'); return false;" target="thePicture"><img src="typo3temp/pics/fd74fb2374.jpg" width="200" height="150" border="0" align="top" alt="" title="" /></a><br /></td></tr></table><p style="margin:0 0 0 0;"><strong>Unser Bauprojekt</strong>
</p>
Ich habe nicht allzuviel Erfahrung, allerdings hatte ich dieses Problem beim letzten Mal noch nicht, dass das grafische Menü nur bei IE funktioniert #paralyzed#
Hallo typolclau,
habe Deinen Code mal auf meinem System eingegeben!
Mit folgenden Änderungen geht's bei mir:
MENU_LINKS = HMENU
MENU_LINKS {
# special = directory
# special.value = 97
1 = GMENU
#1.expAll=1
1.NO = 1
1.NO {
XY = 240, 24
backColor = #88412B
#Text auf den Menüpunkt rendern
10 = TEXT
10.text.field = title
10.fontColor = #F1C355
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontSize = 14
10.niceText = 1
10.offset = 14, 16
#weisse Linie
20=IMAGE
20.file=GIFBUILDER
20.file{
XY=240,1
backColor=#D43607
}
20.offset=0, 23
}
1.RO < .1.NO
1.RO.backColor = #DE6E0C
}
Aus meiner Sicht hast Du eine Klammer zu viel "}" und das directory ist bei mir nicht nötig!
Das Beispiel siehr mir aus wie bei Praxiswissen TYPO3, oder???
Gruß
Carsten
Hallo,
danke, für die ausführliche Antwort und den Test meines Codes - ich dachte schon, das wäre des Rätsels Lösung - das Klammerproblem... Syntax - wär mir zwar peinlich gewesen - aber wäre wohl auch zu einfach gewesen... du hattest wohl recht, eine Klammer war zuviel - allerdings passiert nicht wirklich was, wenn ich die Klammer wegnehme... nun - special directory brauche ich dringend, da ich ein Gästebuch nutze (daher ein sysordner) und die news extension tt_news (zur Zeit mit mininews). Einen Sysordner benötige ich also für diese Funktionsweise. Nehme ich special directory raus, so werden das Gästebuch und die Nachrichten gar nicht mehr in der Navigation angezeigt.
Es ist richtig, das Beispiel war ursprünglicherweise aus dem Buch Praxiswissen Typo3 - Bücher sind schon sehr sinnvoll - sie helfen Menschen wie mir bei den ersten Schritten, können natürlich nur eine Ergänzung sein. Dieses grafische Menü setze ich nun wirklich konkret das erste Mal online ein - bei allen Testversionen klappte es bisher auch mit Firefox - o.k., da muss ich wohl noch mehr Forschungsarbeit betreiben...
Vielen Dank für Deine Antwort und frohes Schaffen,
Gruß
Hallo,
hat nicht noch jemand eine Idee für mich? -Ich suche irgendwie verzweifelt danach, woran es liegen könnte, dass die Links im FE einfach nicht funktionieren...
#evil#
die betreffende Seite sieht so aus:
http://www.claudianeu.net
Vielleicht habe ich noch nicht genügend Erfahrung mit dem FE...
ich bin dankbar für einen Tip, der mir weiterhelfen kann #paralyzed#
Hallo,
ich habe wohl noch nicht genug Erfahrung mit divs... #angry#
Der 2. div in meinem template hat meine gesamte Navigation überlagert - habe das endlich! erkannt 8-) Peinlich, peinlich.