---
title: "Submenu CSS oder Typo3?"
url: "https://www.typo3.net/d/103626-submenu-css-oder-typo3"
source: "typo3.net"
tags: ["Backend","Frage"]
created: "2011-02-02"
last_reply: "2011-02-03"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# Submenu CSS oder Typo3?

Backend · 4 Antworten · gestartet 2011-02-02

## Eröffnungsbeitrag

**ENDKOELN** · 2011-02-02 · [Beitrag #1](https://www.typo3.net/d/103626-submenu-css-oder-typo3/1)

Hallo Forum.

Seit kurzem betreue ich folgende Website, <http://www.taxmaster.de>.

Ich hab nun die Aufgabe die Navigation so einzustellen, dass man die Unterpunkte sieht wenn man mit der Maus drüber geht und nicht erst nach einem klick auf den Navi-Punkt.

Ist das nun eine Typo3 oder CSS-Einstellung?

Ich habe mit Typo3 nicht viel Erfahrung und hoffe das ihr mir helfen könnt.

Hier ein kurzer Auszug der Navigation (hoffe ich).

```typoscript
HMENU
[1] = TMENU
[NO] = 1
[linkWrap] = | # wrap = <ul class="viewport-head-slot02-navi">|</ul>
[wrapItemAndSub] = <li class="first">|</li> ...
[ATagTitle]
[stdWrap]
[noBlur] = 1
[expAll] = 1
[wrap] = <ul class="ullevel1">|</ul>
[ACT] = 1
[CUR] = 1
[2] = TMENU
[NO] = 1
[noBlur] = 1
[expAll] = 1
[wrap] = <ul class="ullevel2">|</ul>
[ACT] = 1
[CUR] = 1
[3] = TMENU
[NO] = 1
[noBlur] = 1
[expAll] = 1
[wrap] = <ul class="ullevel3">|</ul>
[ACT] = 1
[CUR] = 1
```

## Antworten

### [#2](https://www.typo3.net/d/103626-submenu-css-oder-typo3/2) · igorshmigor · 2011-02-02

Warum wird das TypoScript so eigenartig dargestellt? Hast Du das aus dem TypoScript Object Browser kopiert? So kann man das jedenfalls nicht vernünftig lesen und analysieren.
An sich sieht es aus, als wäre alles bereits so eingestellt, wie Du es brauchst, doch scheinbar wird das expAll=1 ignoriert. Warum auch immer. Denn im generierten Seitentext sieht man, dass die Untermenüs nur zu der jeweils aktiven Seite erstellt werden. Das verhindert man normalerweise mit expAll=1, welches TYPO3 mitteilt, dass die Untermenüs in jedem Fall erstellt werden sollen. Aber vielleicht kann man den Fehler besser erkennen, wenn Du den original TypoScript-Code postest (Unter Template auf "Info/Bearbeiten" und dann auf Setup)

### [#3](https://www.typo3.net/d/103626-submenu-css-oder-typo3/3) · ENDKOELN · 2011-02-03

Vielen dank schon mal für die Antwort.

Hier nochmals der Code

```typoscript
# Override the configuration back to template-selector
# Required as template-selector looses his configuration
plugin.tx_rlmptmplselector_pi1 < document_type_xhtml_transitional.10.template

##
## Set base url for this portal tree
##

config.baseURL = http://www.taxmaster.de/
[hostname = www.taxmaster.de]
config.baseURL = http://www.taxmaster.de/
[global]


##
## Set default and additional languages
##

config {
  language = de
  locale_all = de_DE
  sys_language_uid = 0
}

[globalVar = GP:L=0]
config {
  sys_language_uid = 0
  language = de
  locale_all = de_DE
}
[global]

##
## Enable/disable caching for the whole portal tree
## Warning: Only disable caching during development!!!
##

#config {
#  no_cache = 1
#}

#plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE >


temp.imgbar=COA
# erstes kleines bild
temp.imgbar.20=COA
temp.imgbar.20.5.stdWrap.wrap=<div class="imgsmall"><img onClick="document.getElementById('imgbig').src='|'"  src=
temp.imgbar.20.5=IMG_RESOURCE
temp.imgbar.20.5.file {
  import.data = levelmedia: 9,slide  
  import = uploads/media/
  import.listNum = 0
  file.width=392
  file.height=260
}
temp.imgbar.20.10=IMG_RESOURCE
temp.imgbar.20.10.stdWrap.wrap="|"></div >

temp.imgbar.20.10.file {  
  import.data = levelmedia: 9,slide  
  import = uploads/media/
  import.listNum = 0  
  width = 123  
  height= 83
}

# das groÃŸe Bild
temp.imgbar.10<temp.imgbar.20.10
temp.imgbar.10=IMG_RESOURCE
temp.imgbar.10{
  file.import.listNum = 0  
  file.width=392
  file.height=260
  stdWrap.wrap=
  <div class="imgbig" style="float: right;"><img id="imgbig" src="|" height="260" width="392" alt="" /></div>
   
}

# 2. kleines bild
temp.imgbar.30<temp.imgbar.20
temp.imgbar.30.10{
  stdWrap.wrap= "|">
  file.import.listNum = 1
}
temp.imgbar.30.5.file.import.listNum=1

#3. kleines bild
temp.imgbar.40<temp.imgbar.30
temp.imgbar.40.10{
  file.import.listNum = 2
}
temp.imgbar.40.5.file.import.listNum=2




document_type_xhtml_transitional.10.subparts.VIEWPORT-HEAD-SLOT-2.10.wrap = <div class="navigation-horizontal"> | </div>
document_type_xhtml_transitional.10.subparts.VIEWPORT-HEAD-SLOT-2.10.1.NO.wrapItemAndSub = <li class="first">|</li> |*| <li>|</li> |*| <li class="last">|</li>
document_type_xhtml_transitional.10.subparts.VIEWPORT-HEAD-SLOT-2.10.1.ACT.wrapItemAndSub = <li class="first">|</li> |*| <li class="active">|</li> |*| <li class="last">|</li>
document_type_xhtml_transitional.10.subparts.VIEWPORT-HEAD-SLOT-2.10.1.CUR.wrapItemAndSub = <li class="first">|</li> |*| <li class="active">|</li> |*| <li class="last">|</li>
document_type_xhtml_transitional.10.subparts.VIEWPORT-HEAD-SLOT-2.10.1.CUR.doNotLinkIt = 0


document_type_xhtml_transitional.headerData.5.40.100 = TEXT
document_type_xhtml_transitional.headerData.5.40.100 = <link rel="stylesheet" type="text/css" media="screen, projection" href="/fileadmin/Master_of_Taxation/css/custom.css" />

##
## EXTRA CSS FOR CUSTOMIZED CONTENT STYLES
##


document_type_xhtml_transitional.headerData.5.40.100.value. = <link rel="stylesheet" type="text/css" media="screen, projection" href="/fileadmin/Master_of_Taxation/css/custom.css" />Taxation/css/custom.css" />
document_type_xhtml_transitional.headerData.5.40.100.value = <link rel="stylesheet" type="text/css" media="screen, projection" href="/fileadmin/Master_of_Taxation/css/custom.css" />
document_type_xhtml_transitional.headerData.5.40.100.10 = TEXT
document_type_xhtml_transitional.headerData.5.40.100 = TEXT
```

Ich hoffe das ist der richtige Code.

### [#4](https://www.typo3.net/d/103626-submenu-css-oder-typo3/4) · igorshmigor · 2011-02-03

> **ENDKOELN schrieb:**
>
> Ich hoffe das ist der richtige Code.

Nein, leider nicht.

### [#5](https://www.typo3.net/d/103626-submenu-css-oder-typo3/5) · ENDKOELN · 2011-02-03

An das Andere komme ich irgendwie nicht dran.

---

Quelle: „Submenu CSS oder Typo3?“, typo3.net, https://www.typo3.net/d/103626-submenu-css-oder-typo3
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
