Zum Inhalt springen

Menü bei Win IE und Opera

Erstellt am 20. August 2005 · 3 Antworten · letzte Antwort am 25. August 2005

Tags: Frage

Peet ·

Hi Typos,

ich bekommen das mit dem Menü nicht richtig hin.
Der Browser von Mozilla zeigt das was ich will, aber der #evil# Win IE und Opera zeigen zwar die ersten Menüeinträge, leider nur als Text. Nicht als Menü-link. Wenn ich im Menü weiter klicke (über Sitemap) wird alles korekt angezeigt!! o.O Hier der ausschnitt aus meiner Setup.txt:

# ------------------------------
# Left Menu Navigation
# ------------------------------

temp.leftnav = HMENU
temp.leftnav.1 = TMENU

temp.leftnav.1 {
  # Normal state properties
 wrap = |
NO = 1
NO {

ATagParams = class="leftnav-level1-NO"
# allwrap -->vollständige tabelle um navi
allWrap (
<table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td>|</td></tr>
</table>
)

#hintere zelle -->

linkWrap = <td width="170" bgcolor=""><div class="leftnav-level1-BOX"|</div></td>
beforeImg = EXT:tmpl_urbannomad/template/images/arrow_blue_clear.gif
beforeROImg = EXT:tmpl_urbannomad/template/images/arrow_blue.gif
RO = 1
#fordere zelle -->
beforeWrap = <td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm">|</td>
}


 # Enable active state and set properties:
ACT = 1

ACT {
ATagParams = class="leftnav-level1-ACT"
allWrap (
<table width="180" border="0" cellpadding="0" cellspacing="0" bordercolor="#009900">
<tr><img src="/farbenet/typo3conf/ext/tmpl_urbannomad/template/images/spacer_white.gif" width="100%" height="1" alt="" /><td>|</td><img src="/farbenet/typo3conf/ext/tmpl_urbannomad/template/images/spacer_white.gif" width="100%" height="1" alt="" /></tr>
</table>

)

#hintere zelle -->
linkWrap = <td width="170" bgcolor=""><div class="leftnav-level1-BOX">|</div></td>
beforeImg = EXT:tmpl_urbannomad/template/images/arrow_grey.gif
beforeROImg = EXT:tmpl_urbannomad/template/images/arrow_blue.gif
RO = 1
#fordere zelle -->
beforeWrap = <td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm">|</td>

}
 }

# Second level menu-object, textual
temp.leftnav.2 = TMENU
 wrap = |
NO = 1
temp.leftnav.2 {

  # Normal state properties
NO {

ATagParams = class="leftnav-level2-NO"
# allwrap -->vollständige tabelle um navi
allWrap (
<table width="180" border="0" cellpadding="0" cellspacing="0" bordercolor="#009900">
<tr><img src="/farbenet/typo3conf/ext/tmpl_urbannomad/template/images/spacer_white.gif" width="100%" height="1" alt="" /><td>|</td><img src="/farbenet/typo3conf/ext/tmpl_urbannomad/template/images/spacer_white.gif" width="100%" height="1" alt="" /></tr>
</table>
)

#hintere zelle -->

linkWrap = <td width="160" bgcolor=""><div class="leftnav-level1-BOX">|</div></td>
beforeImg = EXT:tmpl_urbannomad/template/images/arrow_blue_clear.gif
beforeROImg = EXT:tmpl_urbannomad/template/images/arrow_blue.gif
RO = 1
#fordere zelle -->
beforeWrap = <td width="20" align="right" valign="top" class="leftnav-level1-BOX-sm">|</td>
}

  # Enable active state and set properties:
  ACT = 1
ACT {
ATagParams = class="leftnav-level2-ACT"
allWrap (
<table width="180" border="0" cellpadding="0" cellspacing="0" bordercolor="#009900">
<tr><img src="/farbenet/typo3conf/ext/tmpl_urbannomad/template/images/spacer_white.gif" width="100%" height="1" alt="" /><td>|</td><img src="/farbenet/typo3conf/ext/tmpl_urbannomad/template/images/spacer_white.gif" width="100%" height="1" alt="" /></tr>
</table>
)

#hintere zelle -->
linkWrap = <td width="160" bgcolor=""><div class="leftnav-level1-BOX">|</div></td>
beforeImg = EXT:tmpl_urbannomad/template/images/arrow_grey.gif
beforeROImg = EXT:tmpl_urbannomad/template/images/arrow_grey.gif
RO = 1
#fordere zelle -->
beforeWrap = <td width="20" align="right" valign="top" class="leftnav-level1-BOX-sm">|</td>

}
 }

Woran mag das liegen?? #paralyzed#

Die Darstellung ist so wie ich es haben möchte.

Gruß Peet und danke für eure Hilfe

Peet ·

Hi Matthias,

hier nun der HTML output die erste Zeile ist immer leer.

Win IE:

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" 
.......
     <table width="1000" align="left" cellpadding="0" cellspacing="0" class="maintable">
        <tr>
          <td colspan="2" class="linespacer"><img src="typo3conf/ext/tmpl_urbannomad/template/images/spacer.gif" alt="" /></td>
        </tr>
        <!-- START Left Nav -->
        <tr>
          <td id="leftnav" class="left_nav" valign="top" width="212">
          <img src="typo3conf/ext/tmpl_urbannomad/template/images/spacer.gif" height="1" width="180" alt="" />
          <table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img1_d8e7_0before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Maler.maler.0.html" target="_self" onfocus="blurLink(this);" onmouseover="over('img1_d8e7_0before');" onmouseout="out('img1_d8e7_0before');" class="leftnav-level1-NO">Maler</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img390_d8e7_1before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Fahrzeuglackierer.fahrzeuglackierer.0.html" onfocus="blurLink(this);" onmouseover="over('img390_d8e7_1before');" onmouseout="out('img390_d8e7_1before');" class="leftnav-level1-NO">Fahrzeuglackierer</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img428_d8e7_2before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Kunden.kunden.0.html" onfocus="blurLink(this);" onmouseover="over('img428_d8e7_2before');" onmouseout="out('img428_d8e7_2before');" class="leftnav-level1-NO">Kunden</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img49_d8e7_3before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Branche.branche.0.html" onfocus="blurLink(this);" onmouseover="over('img49_d8e7_3before');" onmouseout="out('img49_d8e7_3before');" class="leftnav-level1-NO">Branche</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img10_d8e7_4before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Presse.presse.0.html" onfocus="blurLink(this);" onmouseover="over('img10_d8e7_4before');" onmouseout="out('img10_d8e7_4before');" class="leftnav-level1-NO">Presse</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img409_d8e7_5before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Fachorganisation.fachorganisation.0.html" onfocus="blurLink(this);" onmouseover="over('img409_d8e7_5before');" onmouseout="out('img409_d8e7_5before');" class="leftnav-level1-NO">Fachorganisation</a></div></td></td></tr>
</table>
          <a href="#"><img src="clear.gif" border="0" height="1" width="1" alt="" /></a></td>
          <!-- END Left Nav -->

Opera:

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

.......

      <table width="1000" align="left" cellpadding="0" cellspacing="0" class="maintable">
        <tr>
          <td colspan="2" class="linespacer"><img src="typo3conf/ext/tmpl_urbannomad/template/images/spacer.gif" alt="" /></td>
        </tr>
        <!-- START Left Nav -->
        <tr>
          <td id="leftnav" class="left_nav" valign="top" width="212">
          <img src="typo3conf/ext/tmpl_urbannomad/template/images/spacer.gif" height="1" width="180" alt="" />
          <table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img1_d8e7_0before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Maler.maler.0.html" target="_self" onfocus="blurLink(this);" onmouseover="over('img1_d8e7_0before');" onmouseout="out('img1_d8e7_0before');" class="leftnav-level1-NO">Maler</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img390_d8e7_1before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Fahrzeuglackierer.fahrzeuglackierer.0.html" onfocus="blurLink(this);" onmouseover="over('img390_d8e7_1before');" onmouseout="out('img390_d8e7_1before');" class="leftnav-level1-NO">Fahrzeuglackierer</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img428_d8e7_2before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Kunden.kunden.0.html" onfocus="blurLink(this);" onmouseover="over('img428_d8e7_2before');" onmouseout="out('img428_d8e7_2before');" class="leftnav-level1-NO">Kunden</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img49_d8e7_3before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Branche.branche.0.html" onfocus="blurLink(this);" onmouseover="over('img49_d8e7_3before');" onmouseout="out('img49_d8e7_3before');" class="leftnav-level1-NO">Branche</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img10_d8e7_4before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Presse.presse.0.html" onfocus="blurLink(this);" onmouseover="over('img10_d8e7_4before');" onmouseout="out('img10_d8e7_4before');" class="leftnav-level1-NO">Presse</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img409_d8e7_5before" border="0" alt="" /></td><td width="170" bgcolor=""><div class="leftnav-level1-BOX"<a href="Fachorganisation.fachorganisation.0.html" onfocus="blurLink(this);" onmouseover="over('img409_d8e7_5before');" onmouseout="out('img409_d8e7_5before');" class="leftnav-level1-NO">Fachorganisation</a></div></td></td></tr>
</table>
          <a href="#"><img src="clear.gif" border="0" height="1" width="1" alt="" /></a></td>
          <!-- END Left Nav -->

So und hier Mozilla:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

.......

      <table width="1000" align="left" cellpadding="0" cellspacing="0" class="maintable">
        <tr>
          <td colspan="2" class="linespacer"><img src="typo3conf/ext/tmpl_urbannomad/template/images/spacer.gif" alt="" /></td>
        </tr>

        <!-- START Left Nav -->
        <tr>
          <td id="leftnav" class="left_nav" valign="top" width="212">
          <img src="typo3conf/ext/tmpl_urbannomad/template/images/spacer.gif" height="1" width="180" alt="" />
          <table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img1_eace_0before" border="0" alt="" /></td><td width=" 170" bgcolor=""><div class="leftnav-level1-BOX"><a href="Maler.maler.0.html" target="_self" onfocus="blurLink(this);" onmouseover="over('img1_eace_0before');" onmouseout="out('img1_eace_0before');" class="leftnav-level1-NO">Maler</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img390_eace_1before" border="0" alt="" /></td><td width=" 170" bgcolor=""><div class="leftnav-level1-BOX"><a href="Fahrzeuglackierer.fahrzeuglackierer.0.html" onfocus="blurLink(this);" onmouseover="over('img390_eace_1before');" onmouseout="out('img390_eace_1before');" class="leftnav-level1-NO">Fahrzeuglackierer</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img428_eace_2before" border="0" alt="" /></td><td width=" 170" bgcolor=""><div class="leftnav-level1-BOX"><a href="Kunden.kunden.0.html" onfocus="blurLink(this);" onmouseover="over('img428_eace_2before');" onmouseout="out('img428_eace_2before');" class="leftnav-level1-NO">Kunden</a></div></td></td></tr>

</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img49_eace_3before" border="0" alt="" /></td><td width=" 170" bgcolor=""><div class="leftnav-level1-BOX"><a href="Branche.branche.0.html" onfocus="blurLink(this);" onmouseover="over('img49_eace_3before');" onmouseout="out('img49_eace_3before');" class="leftnav-level1-NO">Branche</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img10_eace_4before" border="0" alt="" /></td><td width=" 170" bgcolor=""><div class="leftnav-level1-BOX"><a href="Presse.presse.0.html" onfocus="blurLink(this);" onmouseover="over('img10_eace_4before');" onmouseout="out('img10_eace_4before');" class="leftnav-level1-NO">Presse</a></div></td></td></tr>
</table><table width="180" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr><td><td width="10" align="right" valign="top" class="leftnav-level1-BOX-sm"><img src="typo3conf/ext/tmpl_urbannomad/template/images/arrow_blue_clear.gif" width="11" height="14" name="img409_eace_5before" border="0" alt="" /></td><td width=" 170" bgcolor=""><div class="leftnav-level1-BOX"><a href="Fachorganisation.fachorganisation.0.html" onfocus="blurLink(this);" onmouseover="over('img409_eace_5before');" onmouseout="out('img409_eace_5before');" class="leftnav-level1-NO">Fachorganisation</a></div></td></td></tr>
</table>
          <a href="#"><img src="clear.gif" border="0" height="1" width="1" alt="" /></a></td>
          <!-- END Left Nav -->

Ist was lang geworden, aber ich hoffe du kannst mir weiter helfen.

Gruß Peet

Peet ·

Hallo ihr Typos,
ich hab immer noch keine Lösung gefunden. Ich verstehe einfach nicht warum win IE und OPERA die erste Menüebene nicht als link darstellen. #angry#
Wenn dann die Bebene darunter aufgerufen wird dann ist alles Okay. Wenn ich nun das Menü erst in der zweiten Ebene beginnen lasse habe das Gleiche wie vorher, nur halt eine Ebene tiefer.

Weiß denn keiner woran das liegen kann??

Gruß Peet