i'm using Joomla 2.5.

I need to customize nav menu for a template. I need to make submenus appearing on mouse hover event, with css.

My problem is finding where is the code that "puts out" html for nav menu elements (<ul><li>..and so on..)
I've got this line:

<jdoc:include type="modules" name="position-1" style="none"/>

But can't understand which file/snippet of code is in charge of creating that nav menu.


Take a look at this file: /modules/mod_menu/tmpl/default.php