thanks for the help, but now I'd like a little more advice please...
I'm setting up my 2nd menu on the page, which I just want to display level2 menus - and I want my main 'top navigation' to just display level1 (parent) menus.
my page is located here:
http://www.leamtechwebsitedesign.com/pages/menu.phpAs you can see, I'm trying to design a site for a restaurant - I want to click 'menu' and have the list on the right displayed, which works ok, however whenever I click on any of the child items in the menu, they all display on the top navigation.
here is my code again:
top main navigation
<div class="navigation">
<?php
show_menu2(
$aMenu = 0,
$aStart = SM2_ROOT,
$aMaxLevel = SM2_CURR,
$aOptions = SM2_TRIM,
$aItemOpen = '<a href="[url]"[if(class==menu-current) { id="active"}] > [menu_title]',
$aItemClose = '</a>',
$aMenuOpen = ' ',
$aMenuClose = ' ',
$aTopItemOpen = false,
$aTopMenuOpen = false
);
?>
<div class="clearer"></div>
</div>
right side menu:
<ul id="pages">
<?php
show_menu2(
$aMenu = 0,
$aStart = SM2_ROOT+1,
$aMaxLevel = SM2_CURR+1,
$aOptions = SM2_TRIM,
$aItemOpen = '<li><a href="[url]" > [menu_title]',
$aItemClose = '</a></li>',
$aMenuOpen = '',
$aMenuClose = '',
$aTopItemOpen = false,
$aTopMenuOpen = false
);
?>
</ul>
<?php page_content(2); ?>
</div>
can anyone see where I'm going wrong? - again I'm a bit of a noob to wb and show_menu2 and I've tried to get my head around the documentation for showmenu2 but it leaves me a little confused after a lot of trial and error!
I hope this makes sense, and thanks
