---
title: "Anfängerproblemm mit Rollover-Effekt. Ist der Fehler evtl. schon im HTML-Template ??? Schaut mal rein :-)"
url: "https://www.typo3.net/d/34996-anfaengerproblemm-mit-rollover-effekt-ist-der-fehler-evtl-schon-im-html-template-schaut-mal-rein"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2005-12-16"
last_reply: "2005-12-17"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# Anfängerproblemm mit Rollover-Effekt. Ist der Fehler evtl. schon im HTML-Template ??? Schaut mal rein :-)

TYPO3 › Menüs · 4 Antworten · gestartet 2005-12-16

## Eröffnungsbeitrag

**magnetrixx** · 2005-12-16 · [Beitrag #1](https://www.typo3.net/d/34996-anfaengerproblemm-mit-rollover-effekt-ist-der-fehler-evtl-schon-im-html-template-schaut-mal-rein/1)

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

```html
<!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:

```typoscript
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

}
```

## Antworten

### [#2](https://www.typo3.net/d/34996-anfaengerproblemm-mit-rollover-effekt-ist-der-fehler-evtl-schon-im-html-template-schaut-mal-rein/2) · ion · 2005-12-17

Tschou Kai

Ich werde nicht genau schlau aus deine Cod. Vielleicht hilft dir mein TypoScript / Designvorlage:

```typoscript
seite.10.marks{

###################Hauptnavigation
NAV = HMENU
NAV{
  special = directory
  special.value = 1
  entryLevel = 1
  1 = GMENU
  1.expAll = 0 
  1.collapse = 0
  1.NO = 1
  1.NO {
    XY = [10.w]+18, 32
    backColor = {$FARBEH}
    10 = TEXT
    10.text.field = title
    10.fontSize = 9
    10.fontFile = fileadmin/font/arial.ttf
    10.fontColor = #ffffff
    10.offset = 9, 20
  
    20 = IMAGE
    20.file = GIFBUILDER
    20.file {
      XY = 1, 32
      backColor = {$FARBEH} |*| #f2f2f2 |*| #f2f2f2 
      }
    20.offset = 0, 0
  }
  1.RO < .1.NO
  1.RO{
   backColor = {$FARBED}
   20.file.backColor = {$FARBED} |*| #f2f2f2 |*| #f2f2f2 
    }

 1.ACT < .1.NO
 1.ACT{
   backColor = {$FARBED}
   20.file.backColor = {$FARBED} |*| #f2f2f2 |*| #f2f2f2 
    }
}
}
```

```html
<!-- ###DOCUMENT### begin -->
...
<table width="864" border="0" align="center" cellspacing="0" cellpadding="0">
 .......
    <td>###HEADIMAGE###</td>
  </tr>
  <tr>
    <td><table width="864" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="656" bgcolor="#E6E6E6">###NAV###</td>
          <td width="208" bgcolor="###BG###"><img src="t.gif" width="208"....
```

Gruss Manuel

### [#3](https://www.typo3.net/d/34996-anfaengerproblemm-mit-rollover-effekt-ist-der-fehler-evtl-schon-im-html-template-schaut-mal-rein/3) · magnetrixx · 2005-12-17

hi manuel & DANKE für deine antwort,

also ich bin zum entschluss gekommen, die kopfzeile einfach statisch zu machen, da jeder menüpunkt eine eigene im photoshop erstellte grafiuk sein soll, mit entsprechendem rollover. da sitze ich wahrscheinlich 3 tage am typoscript und kann die sache auch in ner halben stunde im editor erledigt haben. dieser bereich soll sich sowieso nicht ändern, die anderen menüs sind dann auch nicht so stressig im typoscript zu erstellen... dann wird die seite halt nur zu 85% dynamisch.... find ich nicht weiter schlimm.

DANKE jedenfalls für die einzige antwort, die ich auf 3 gestellte fargen bekommen konnte.

cheers! & schönes wochenende,
kai

### [#4](https://www.typo3.net/d/34996-anfaengerproblemm-mit-rollover-effekt-ist-der-fehler-evtl-schon-im-html-template-schaut-mal-rein/4) · theo · 2005-12-17

> **magnetrixx schrieb:**
>
> DANKE jedenfalls für die einzige antwort, die ich auf 3 gestellte fargen bekommen konnte.

Sorry, aber umgekehrt wird ein Schuh draus:
Mehrfachposting nervt und ist ätzend. Allein die letzten beiden Postings hast Du innerhalb von zwanzig Minuten abgeschickt.
Das nennt man: ein Forum zumüllen.
Du kannst also wirklich froh sein, wenn Dir überhaupt jemand antwortet.

Kein mensch kann den einzelnen Threads folgen, da der eine mal hier und ein anderer dann dort antwortet, keiner vom anderen weiß (und wenn, dann nur zufällig) oder mitbekommt, daß es womöglich in einem anderen Thread schon längst eine Lösung gibt....

Hölle!

### [#5](https://www.typo3.net/d/34996-anfaengerproblemm-mit-rollover-effekt-ist-der-fehler-evtl-schon-im-html-template-schaut-mal-rein/5) · magnetrixx · 2005-12-17

jau wenn man das so sieht, stimmt das natürlich. ich dachte, dass eine andere fragestellung vielleicht eher einblick in mein problem gibt.

wird in dieser form also nicht mehr vorkommen :-)

---

Quelle: „Anfängerproblemm mit Rollover-Effekt. Ist der Fehler evtl. schon im HTML-Template ??? Schaut mal rein :-)“, typo3.net, https://www.typo3.net/d/34996-anfaengerproblemm-mit-rollover-effekt-ist-der-fehler-evtl-schon-im-html-template-schaut-mal-rein
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
