show_menu2() another question please

Availor

I was trying to play around with the show_menu2() code.

Please help me out - how would you invoke this code with the show menu?
Here is the example;

<li><a href="#nogo"><b>Joseph Turner</b><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
   <ul class="sub">
       <li><a href="#nogo">Fishermen at Sea</a></li>
       <li><a href="#nogo">The Shipwreck</a></li>
       <li><a href="#nogo">The Vale of Ashburnham</a></li>
       <li><a href="#nogo">Crossing the Brook</a></li>
   </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>


I've tried different methods but they all didn't bring the wanted results

Method 1 (using [if(level == 0) { <ul id = "sub">
  • [a][men_title][/a]
)
I That didn't change the li into ul - I think I just messed it up.

Method 2 (copied from multiflex templat0
?php show_menu2(1, SM2_ROOT, SM2_ALL,SM2_ALL,'<li>[a][menu_title]
                        [if(level == 0){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}]
                        [if(leve == 1){</a>}]
                      {</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>


Anyway, if someone is an expert in show_menu2() maybe you can help me out here  :roll:

Cheers  :-D