This is the latest version I'm using:
<?php show_menu2(0, SM2_ROOT+1, SM2_CURR+1); ?>
But I have tried multiple different variatons (including the extend one):
<?php show_menu2(
$aMenu = 0,
$aStart = SM2_ROOT+1,
$aMaxLevel = SM2_ALL,
$aOptions = SM2_TRIM|SM2_PRETTY,
$aItemOpen = '<li><a href="[url]" target="[target]">[menu_title]</a>',
$aItemClose = '</li>',
$aMenuOpen = '<ul class="leftside">',
$aMenuClose = '</ul>',
$aTopItemOpen = false,
$aTopMenuOpen = false
);
?>
Concerning the $aMenuOpen class - I have been working with as well as without this class
The CSS is (leftside being the div in which the menu is positioned) - it is a bit messy because of the trial and error:
#leftside
{
clear: left;
width: 150px;
margin: 0 auto;
font-size: 11px;
float: left;
margin:0 0 5px;
padding:0;
}
#leftside ul
{
padding: 0px;
margin: 6px 0 0 10px;
color: #707070;
display: block;
width: 150px;
font: Arial, Helvetica, sans-serif;
border: 1px solid #e60000;
}
#leftside ul ul
{
padding: 0px;
margin: 6px 0 0 10px;
color: #707070;
display: block;
width: 139px;
font: Arial, Helvetica, sans-serif;
font-weight: normal;
border: 1px solid;
}
#leftside ul ul li
{
padding: 0px;
margin: 6px 0 0 10px;
color: #e60000;
display: block;
width: 139px;
font: Arial, Helvetica, sans-serif;
font-weight: normal;
}
#leftside ul li { display: block; padding-bottom: 8px;}
#leftside ul li a
{
text-decoration: none;
color: #707070;
}
#leftside ul li a:hover
{
color: #e60000;
}
#leftside .menu-current
{
font-weight: bold;
color: #e60000;
}
#leftside .menu-parent
{
font-weight: bold;
color: #e60000;
}