hi zusammen
als typo3-beginner kämpfe ich mit einem Fehler in einem drop down menü.
die unterpunkte sollten eingeblendet werden, sobald der mouszeiger auf dem jeweiligen hauptpunkt ist.
Problem: ich muss den jeweiligen Hauptpunkt zuerst anklicken und erst dann funktioniert das mit mouseover. hab jetzt keine ahnung ob das problem im typoscript liegt oder im css.
hier noch mein typoscript:
# Default PAGE object:
page = PAGE
page {
includeCSS {
screen = fileadmin/style.css
scree.media = screen
}#Ende include CSS
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/startseite.html
10.workOnSubpart = Document_Body
10.marks {
INHALT = CONTENT
INHALT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}#Ende Content
HEADER = IMAGE
HEADER.file = GIFBUILDER
HEADER.file {
XY = 965,220
10 = IMAGE
10.file.import = uploads/media/
10.file.import.data = levelmedia:-1, slide
10.file.import.listNum = 0
10.file.width = 965
20 = IMAGE
20.file = GIFBUILDER
20.file.XY = 965,220
20.mask = fileadmin/image/mask.jpg
}#ende header
FLASH = COA
FLASH {
10 = HTML
10.value=<div>
20 = TEXT
20.value=<!--[if !IE]> --><object type="application/x-shockwave-flash" data="fileadmin/header.swf" wmode="transparent" width="965" height="100"><!--<![endif]--><!--[if IE]><object classid="clsid😃27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" wmode=transparent width="965" height="100"><param name="movie" value="fileadmin/header.swf" /><!--><!----><param name="quality" value="high" /><param name="bgcolor" value="#fff" /><param name="loop" value="true" /><param name="menu" value="false" /><img src="fileadmin/templates/images/headergrafik.jpg" width="580" alt="bitte Flashplayer installieren" border="0" /></object><!-- <![endif]-->
30 = HTML
30.value=</div>
}
LOGO = IMAGE
LOGO.file = fileadmin/image/logo_smatec.png
LOGO.file.XY = 230,90
#ENDE TOP
#BEGIN MENU
MAIN_MENU = HMENU
MAIN_MENU {
### Erste Ebene ###
1 = TMENU
1 {
entrylevel = 0
NO = 1
noBlur = 1
wrap = <ul>|</ul>
NO.wrapItemAndSub = <li>|</li>
}
### Zweite Ebene ###
2 <.1
}#ende main_menu
FORMULAR = IMAGE
FORMULAR {
file = fileadmin/image/anfragebutton.png
params.class="button"
stdWrap.typolink.parameter = 31
altText = Senden Sie uns Ihre Anfrage
title = Senden Sie uns Ihre Anfrage
}#Ende Formular
NEWS = CONTENT
NEWS {
table = tt_content
select.orderBy = sorting
select.where = colPos = 2
}#Ende News
}#Ende Marks
}#Ende Page
hier noch mein css vom navi:
/* ========= style Navigation ========== */
#navi {width:965px; height:25px; background:#999; font-size:105%;}
#navi ul {list-style:none;float:left; width:100%; background-image:url(..fileadmin/image/navi999to666.png); background-repeat:repeat-x;}
#navi li {float:left; margin: 0px 0px 0px 0px; line-height:25px; text-align:center;}
#navi a {color:#000; text-decoration:none; display:block; width:160px; border-right: 1px solid background-image:;}
#navi a:hover {text-decoration:none; display:block; color:#FFF;}
#navi li ul {margin-top:1px; width:170px; background-image:url(../fileadmin/image/subnavi999to666.png); background-repeat:repeat-x; height:100%;}
#navi li li {float:none; margin: 0px 0px 0px 0px; text-align:left; display:block;}
#navi li li a {color:#000; width:100%; padding-left:5px; padding-top:5px; border-right:none;}
#navi li li a:hover {background-image:url(../fileadmin/image/navi999to666.png); background-repeat:repeat-x; width:auto; color:#FFF;}
#navi li ul {position:absolute; left:-9999px;}
#navi li:hover ul {left:auto;}
danke schon mal für die Bemühungen einem Beginner zu helfen.
Grüße
Patric