It is currently Sun Jul 20, 2008 12:48 am





















#twocols{
z-index: 20; /*the columns that gets dropped down over yours might be different*/
}
#leftcol{
z-index: 10; /*the columns that gets dropped down over yours might be different*/
}
.moduletablemainnav{
position: absolute; /* I have absolutely positioned the module, you might have a different scheme*/
top: 187px;
left: 20px;
z-index: 100;
font: 0.9em Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
}
#mainlevelmainnav,#mainlevelmainnav ul{
float: left;
list-style: none;
line-height: 1em;
background: transparent;
font-weight: 700;
margin: 0;
padding: 0;
}
#mainlevelmainnav a{
display: block;
color: #FF9900;
text-decoration: none;
margin-right: 15px;
padding: 0.3em;
}
#mainlevelmainnav li{
float: left;
padding: 0;
}
#mainlevelmainnav li ul{
position: absolute;
left: -999em;
height: auto;
width: 11em;
font-weight: 400;
background: #3366FF;
border: #0000CC 1px solid;
margin: 0;
}
#mainlevelmainnav li li{
width: 11em;
}
#mainlevelmainnav li ul a{
width: 11em;
color: #FFFFFF;
font-size: 0.9em;
line-height: 1em;
font-weight: 400;
}
#mainlevelmainnav li:hover ul ul,#mainlevelmainnav li:hover ul ul ul,#mainlevelmainnav li.sfhover ul ul,#mainlevelmainnav li.sfhover ul ul ul{
left: -999em;
}
#mainlevelmainnav li:hover ul,#mainlevelmainnav li li:hover ul,#mainlevelmainnav li li li:hover ul,#mainlevelmainnav li.sfhover ul,#mainlevelmainnav li li.sfhover ul,#mainlevelmainnav li li li.sfhover ul{
left: auto;
z-index: 6000;
}
#mainlevelmainnav li li:hover,#mainlevelmainnav li li.sfhover{
background: url(../images/soccerball.gif) #003399 98% 50% no-repeat;
}





Now, you might have noticed that you need your menu outputted as a good clean list. Well it just so happens that there is a module out there to do this, and we’ll need it. Its called extended_menu, you can find it here:
de.siteof.de/detree/extended-menu.html
So, grab the module and install. Now let’s set it up. It’s easiest if you give it a menu and module class suffix. I used “mainnav” (you’ll see in the CSS below). A couple of other settings you will need:
Menu style: Tree List
Expand Menu: Yes

knassygroll wrote:I guess what I really dont understand what to do is how to add items to the dropdown menu. The menu (mainmenu in my case appears as css and now id like to add some dropdown items but havent a clue what to do.






knassygroll wrote:Hey thanks for those other couple of options. Gave Lxmenu a try and it seems to work no problems at all.
I stilll havent given up on the suckerfish though. One problem I had is I didnt know where to add the submenu items. Is it correct to think I just do this through joomlas menu manager? ie just hook up a new menu item to a parent item? If this is the case I hope ill be able to get it working. Time will tell though...







/* containing div */
#buttons {
margin: 0;
padding: 0;
width: 100%;
text-align:left; /* added to get IE to go left?? */
z-index:1000;
}
/* Styling for menu */
#mainlevel-sh,#mainlevel-sh ul{
float: left;
list-style: none;
line-height: 1em;
background: #446883;
font-weight: normal;
margin: 0;
padding: 0;
}
#mainlevel-sh a{
display: block;
color: #fff;
text-decoration: none;
font-weight: normal;
padding: 0.3em 15px 0.3em 15px;
}
#mainlevel-sh li{
float: left;
border-right: 1px solid #afafaf;
padding-left: 0;
}
#mainlevel-sh li ul{
position: absolute;
left: -999em;
height: auto;
width: 140px;
font-weight: normal;
background-color: #e6efe7;
border: 0px solid #afafaf;
margin: 0;
padding-left: 0;
}
#mainlevel-sh li li{
width: 140px;
border: 0;
background-color: #e6efe7;
}
#mainlevel-sh li ul a{
width: 140px;
color: #446883;
background-color: #e6efe7;
font-size: 1em;
line-height: 1.5em;
font-weight: normal;
border: 1px solid #afafaf;
}
#mainlevel-sh li:hover ul ul,#mainlevel-sh li:hover ul ul ul,#mainlevel-sh li.sfhover ul ul,#mainlevel-sh li.sfhover ul ul ul{
left: -999em;
}
#mainlevel-sh li:hover ul,#mainlevel-sh li li:hover ul,#mainlevel-sh li li li:hover ul,#mainlevel-sh li.sfhover ul,#mainlevel-sh li li.sfhover ul,#mainlevel-sh li li li.sfhover ul{
left: auto;
z-index: 6000;
background-color: #829aac;
}
#mainlevel-sh li li:hover,#mainlevel-sh li li.sfhover{
background-color: #d1ddd3;
}

Return to FAQ Discussion Board
Users browsing this forum: No registered users and 1 guest