I've the following problem:
I made a menu template myself (and with the help of this forum ;D), but now I want to add a dropdown feature, just like this example.
I've looked to a lot of dropdown templates, but I can't get it working properly..
My template (without 'dropdown-attempts')
Code: Select all
<ul>
{foreach from=$nodelist item=node}
{if $node->alias == $page_alias}
<li><a href="{$node->url}"><img src="images/menu/pressed/{$node->menutext}.png" alt="{$node->menutext}" border="0"/></a></li>
{else}
<li><a href="{$node->url}"><img src="images/menu/normal/{$node->menutext}.png" onmouseover="this.src='images/menu/hover/{$node->menutext}.png'" onmouseout="this.src='images/menu/normal/{$node->menutext}.png'"alt="{$node->menutext}" border="0"/></a></li>
{/if}
{/foreach}
</ul>Code: Select all
div#menu {
height:43px;
width:535px;
margin:0 auto;
padding:0;
}
div#menu ul {
list-style:none;
}
div#menu a:hover {
background-color:none;
}
div#menu li {
display:inline;
margin-left:-3px;
}

