hallo & guten abend,
ich baue gerade mein erstes GMENU. Es soll ein horizontales Menü werden und bereitet mir einige Schwierigkeiten. Unter Umständen liegt der Fehler schon im HTML-Template... ich komme einfach nicht weiter und würde mich über eine kurze Hilfe sehr freuen. Gern auch über ne PM / ICQ.
Ich versuche, ein wenig Struktur in meine Frage zu bringen. Sie besteht also aus 3 (wahrscheinlich sehr einfach zu verstehenden) Teilen.
1. So sieht mein Template bisher aus: http://www.ak-netzwerk.de/typo3.ak-verlag.de/index.php?id=1
2. Wie ihr seht, findet zwar ein Rollover statt, jedoch kommt nicht die richtige Grafik (stattdessen etwas WEISSES - k.A. warum...)
3. Das hier ist mein HTML-Quelltext (könnt ihr 1:1 in euern Editor kopieren. Weiter unten auch mein Typoscript zum Copy & Paste für euch
Was mache ich nur falsch??? Auch wenn ich im HTML-Template Hintergrundgrafiken hinter die Würfel-Grafiken einbinden möchte, werden diese nicht angezeigt. Liegt der Fehler schon im HTML und garnicht im Typoscript?
DANKE !!! schonmal
Kai
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.2)" />
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.2)" />
<link href="fileadmin/template1/css/stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ###DOCUMENT_BODY### start -->
<table width="800" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="800" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20"></td>
<td width="550" background="fileadmin/template1/images/image-head-1.jpg"></td>
<td width="200" background="fileadmin/template1/images/image-head-2.jpg"></td>
<td width="10" background="fileadmin/template1/images/image-head-3.jpg"></td>
<td width="20"></td>
</tr>
</table>
<table width="800" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20"></td>
<td width="300" height="100" background="fileadmin/template1/images/image-head-4.jpg"></td>
<td width="450" height="100"><table width="450" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<!-- ###MENU### start -->
<td width="90" height="100" background="fileadmin/template1/images/image-head-5.jpg" class="links-horizontal"><a href="1.htm">link1</a></td>
<td width="90" height="100" background="fileadmin/template1/images/image-head-6.jpg" class="links-horizontal"><a href="2.htm">link2</a></td>
<td width="90" height="100" background="fileadmin/template1/images/image-head-7.jpg" class="links-horizontal"><a href="3.htm">link3</a></td>
<td width="90" height="100" background="fileadmin/template1/images/image-head-8.jpg" class="links-horizontal"><a href="4.htm">link4</a></td>
<td width="90" height="100" background="fileadmin/template1/images/image-head-9.jpg" class="links-horizontal"><a href="5.htm">link5</a></td>
<!-- ###MENU### stop -->
</tr>
</table></td>
<td width="10" background="fileadmin/template1/images/image-head-10.jpg"></td>
<td width="20"></td>
</tr>
</table>
<table width="800" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20"></td>
<td width="10" bgcolor="cccccc"></td>
<td width="740" background="fileadmin/template1/images/trennlinie-hor-1.jpg" bgcolor="cccccc"></td>
<td width="10" bgcolor="cccccc"></td>
<td width="20"></td>
</tr>
</table>
<table width="800" height="750" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20"></td>
<td width="10" bgcolor="cccccc"></td>
<td width="150" valign="top" bgcolor="cccccc"></td>
<td width="15" bgcolor="cccccc"></td>
<td width="410" valign="top" bgcolor="cccccc"><!--- ###CONTENT### start --> <!--- ###CONTENT### stop --></td>
<td width="15" bgcolor="cccccc"></td>
<td width="150" valign="top" bgcolor="cccccc"></td>
<td width="10" bgcolor="cccccc"></td>
<td width="20"></td>
</tr>
</table>
<table width="800" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20"></td>
<td width="10" bgcolor="cccccc"></td>
<td width="740" background="fileadmin/template1/images/trennlinie-hor-1.jpg" bgcolor="cccccc"></td>
<td width="10" bgcolor="cccccc"></td>
<td width="20"></td>
</tr>
</table>
<table width="800" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20"></td>
<td width="10" background="fileadmin/template1/images/fuss-links.jpg" bgcolor="cccccc"></td>
<td width="740" bgcolor="cccccc"><div align="center"></div></td>
<td width="10" background="fileadmin/template1/images/fuss-rechts.jpg" bgcolor="cccccc"></td>
<td width="20"></td>
</tr>
</table>
<table width="800" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<!-- ###DOCUMENT_BODY### stop -->
</body>
</html>
Das hier ist das Typoscript dazu:
page = PAGE
page.bodyTag = <body bgcolor="{$bgCol}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
page.stylesheet = stylesheet*.css
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = template1*.htm
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get
subparts.CONTENT.wrap = <div style="padding=10px"> | </div>
subparts.MENU = HMENU
subparts.MENU.1 = GMENU
subparts.MENU.1.NO {
XY = 80,80
10 = IMAGE
10.file = navi-hor-1-off*.jpg
allWrap = <td width="90" height="100" align="right"</td>
}
subparts.MENU.1.RO > subparts.MENU.1.NO
subparts.MENU.1.RO = 1
subparts.MENU.1.RO.10.file = navi-hor-1-on*.jpg
}