Hello.
Yee, this is an example from this site:
<?php
show_menu2(
$aMenu = 0,
$aStart = SM2_ROOT,
$aMaxLevel = SM2_CURR+1,
$aOptions = SM2_TRIM,
$aItemOpen = '[li][a][menu_title]</a>',
$aItemClose = '</li>',
$aMenuOpen = '[ul]',
$aMenuClose = '</ul>',
$aTopItemOpen = false,
$aTopMenuOpen = false
)
Look at the Line
$aItemOpen = '[li][a][menu_title]</a>',
This is the line which generates the opening of the Link, and outputs HTML like
<li><a href="#">the title</a>
You may change this like
$aItemOpen = '[li]<a href="[url]" title="[page_title]">[menu_title]</a>',
then you will get the title Attribute and by mouse-over you will get the page title.
Have Fun.
SM2 is not really hard, but you will have to study it with lots of practice.
Kind Regards,
Stefek