7
I have a solution for my problem :
1) add this on the header of the theme.htm
<{php}>
$mod = $GLOBALS['xoopsModule'];
$dirname = (isset($mod) ? $mod->getVar('dirname') :'system');
$GLOBALS['xoopsTpl']->assign( 'xoops_cmod', $dirname );
<{/php}>
2) add something like this on te body tag
<body class="menu-<{if $xoops_cmod == news}>news<{elseif $xoops_cmod == articles}>articles<{elseif $xoops_cmod == links}>links<{elseif $xoops_cmod == photos}>photos<{elseif $xoops_cmod == videos}>videos<{elseif $xoops_cmod == streaming}>videos<{elseif $xoops_cmod == newbb}>forum<{elseif $xoops_cmod == blogs}>blogs<{elseif $xoops_cmod == faq}>faq<{else}>home<{/if}>">
(in fact, all the modules installed on xoops)
3) for each line of the menu
<li id="nav-1-system">
<li id="nav-2-myhome">
<li id="nav-3-...">
(add a line for each module)
4) add in the .css all the combinated values with the required format (something like this
You can see the result
hereMany, many thanks to SpeedAirMan on frxoops for this info !!
Bye everyone