Hallo an alle!
Ich habe das Problem, dass bei meinem TMENU_LAYERS das Untermenü (es folgen noch 2 Ebenen) immer oben links am Rand des Ausgabebereiches des Browsers angezeigt wird. Ich befürchte es liegt am lieben CSS. Ich bekomme es einfach nicht unterhalb meiner Hauptmenüpunkte. Hier mal das HTML:
<body onload="T3_onloadWrapper();">
<div id="Menuba5b560" style="z-index:9999; position:relative;VISIBILITY:hidden;border: 1px solid #A4E6AF; background: #ffffff;"><a href="index.php?id=17" onfocus="blurLink(this);">Über uns</a><br><a href="index.php?id=16" onfocus="blurLink(this);">Daten + Fakten</a><br><a href="index.php?id=15" onfocus="blurLink(this);">Standorte</a><br><a href="index.php?id=14" onfocus="blurLink(this);">Industriepark</a><br></div>
<div id="container">
<div id="header">
<div id="navi-main"><table><tr><td><div id="anchorID441db2b277" style="position:absolute;visibility:hidden;"></div><div id="itemID441db2b277" style="width:100%; height:100%;"><a href="index.php?id=8" onfocus="blurLink(this);" onmouseover="GL_doTop('ba5b56', 'Menuba5b560');" onmouseout="GL_stopMove('ba5b56');GL_resetAll("ba5b56");">Unternehmen</a></div></td><td><div id="anchorID0fbce23fa4" style="position:absolute;visibility:hidden;"></div><div id="itemID0fbce23fa4" style="width:100%; height:100%;"><a href="index.php?id=7" onfocus="blurLink(this);" onmouseover="GL_hideAll("ba5b56");" onmouseout="GL_resetAll("ba5b56");">Produkte + Leistungen</a></div></td><td><div id="anchorID9009619f42" style="position:absolute;visibility:hidden;"></div><div id="itemID9009619f42" style="width:100%; height:100%;"><a href="index.php?id=6" onfocus="blurLink(this);" onmouseover="GL_hideAll("ba5b56");" onmouseout="GL_resetAll("ba5b56");">Personal</a></div></td><td><div id="anchorID6b1d87ad3b" style="position:absolute;visibility:hidden;"></div><div id="itemID6b1d87ad3b" style="width:100%; height:100%;"><a href="index.php?id=5" onfocus="blurLink(this);" onmouseover="GL_hideAll("ba5b56");" onmouseout="GL_resetAll("ba5b56");">Infocenter</a></div></td><td><div id="anchorID8cc13ec20a" style="position:absolute;visibility:hidden;"></div><div id="itemID8cc13ec20a" style="width:100%; height:100%;"><a href="index.php?id=4" onfocus="blurLink(this);" onmouseover="GL_hideAll("ba5b56");" onmouseout="GL_resetAll("ba5b56");">Kontakt</a></div></td></tr></table></div>
</div>
<div id="content">
<div id="content-left-image">###LINKS###</div>
<div id="content-left-sub">###LINKSSUB###</div>
<div id="content-center"><a id="c1"></a><p style="margin:0 0 0 0;">firsttext</p><img src="clear.gif" width="1" height="10" border="0" class="spacer-gif" alt="" title="" /><br /></div>
<div id="content-right">###RECHTS###</div>
</div>
</div>
</body>
Sämtliche DIVs sind absolute positioniert.
Hier das dazugehörige TS:
#config.doctype = HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
lib.stdheader.10.1.fontTag = <h1> | </h1>
tt_content.textpic.20.text.10.10.stdWrap.dataWrap =
tt_content.image.20.spaceBelowAbove =
page = PAGE
page {
typeNum = 0
### UTF-8 Angaben ###
config.metaCharset = utf-8
config.additionalHeaders = Content-Type:text/html;charset=utf-8
### Lib für TMENU_LAYERS includen
includeLibs.tmenu_layers = media/scripts/tmenu_layers.php
### Meta-Tags ###
meta {
keywords = theKeywords
description = theDiscription
author = theAuthor
copyright = theCopyright
content-language = de
robots = index, follow
revisit-after = 14 days
audience = all
}
### Allgemeine Seiteneigenschaften ##
bodyTag = <body>
stylesheet = fileadmin/css/index.css
### Designvorlage integrieren ##
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/default.htm
10.workOnSubpart = DOKUMENT
10.marks {
NAVIMAIN= HMENU
NAVIMAIN {
special = directory
special.value=3
#entryLevel=2
1 = TMENU_LAYERS
1 {
wrap=<table><tr>|</tr></table>
layerStyle =position:relative;VISIBILITY:hidden;border: 1px solid #A4E6AF; background: #ffffff;
lockPosition = x
hideMenuWhenNotOver = 1
hideMenuTimer=250
relativeToTriggerItem = 1
expAll=1
xPosOffset= 0
yPosOffset= 20
NO {
allWrap=<td>|</td>
}
}
2 = TMENU
2.NO {
allWrap=|<br>
}
}
### Inhalt ###
INHALT = CONTENT
INHALT {
table = tt_content
select {
where = colPos = 0
orderBy = sorting
languageField = sys_language_uid
}
}
}
Ich hoffe es kann mir wer helfen. Habe schon via Google + Typo3 Foren gesucht, aber ich komme einfach nicht weiter.
Danke und LG
Malo