Dropdown Menue
Verfasst: 23. Jan 2013, 20:12
Hallo Leute
bin seit tage hier am durchsuchen vom Forum und habe auch schon einges herumprobiert.
Aktueller Stand ist das sich das Dropdown nicht runterklappt.
Mein Template:
Meine CSS:
Vielleicht kann mir jemand weiter helfen.
Vielen Dank schon mal im vorraus.
LG Michael
bin seit tage hier am durchsuchen vom Forum und habe auch schon einges herumprobiert.
Aktueller Stand ist das sich das Dropdown nicht runterklappt.
Mein Template:
Code: Alles auswählen
<?php // PHP oberhalb von Html;?>
<?php $P = explode("|",$this->getValue("path").$this->getValue("article_id")."|"); $rexnav = rex_navigation::factory();?>
<?php // erste ebene ;?>
<?php echo $rexnav->get(0,1,FALSE,TRUE); ?>
<?php // zweite ebene ;?>
<?php echo $rexnav->get($P[1],1,FALSE,TRUE); ?>
<?php // dritte ebene ;?>
<?php if (isset($P[2]) && $P[2] > 0) echo $rexnav->get($P[2],1,FALSE,TRUE); ?>
Code: Alles auswählen
ul{
float:left;
list-style:none;
text-decoration:none;
}
#nav, #nav ul {
padding: 0;
margin: 0;
list-style: none;
}
#nav a {
display: block;
width: 10em;
font-size:14px;
color:#fff;
padding-top:5px;
list-style: none;
}
#nav a.rex-active,
#nav a:hover,
#nav a.rex-current{
font-weight:bold;
}
#nav li {
float: left;
width: 11em;
text-align:center;
}
#nav li ul {
position: absolute;
width: 14em;
left: -999em;
background-color:#c22a17;
padding-top:7px;
}
#nav li ul li{
margin-left:15px;
display:block;
text-align:left;
padding-left:7px;
padding-bottom:5px;
}
#nav li:hover ul {
left: auto;
}
Vielen Dank schon mal im vorraus.
LG Michael