1
hi'
I'm trying to add Accordeon script (JQuery) to iMenu block.
My aim is to display submenus :
• by pointing mouse on Main link
• and without necessary display module page
... iMenu behavior is the same than Main menu block : submenus are displayed only for active module on page.
Block template code is :
le="color: #000000"><?php <table cellspacing="0"> <tr> <td id="mainmenu"> <!-- start module menu loop --> <{assign var=start value=1}> <{foreach item=imenu from=$block.contents}> <{if $imenu.link != ""}> <{if $start}> <a class="menuTop" href="<{$imenu.link}>" target="<{$imenu.target}>"><{$imenu.title}></a> <{assign var=start value=0}> <{else}> <{if $imenu.sub == "1"}> <a class="menuSub" href="<{$imenu.link}>" target="<{$imenu.target}>"><{$imenu.title}> <{if $imenu.messages > 0 }>(<span style="color:#ff0000; font-weight: bold;"><{$imenu.messages}></span>)<{/if}></a> <{else}> <a class="menuMain" href="<{$imenu.link}>" target="<{$imenu.target}>"><{$imenu.title}> <{if $imenu.messages > 0 }>(<span style="color:#ff0000; font-weight: bold;"><{$imenu.messages}></span>)<{/if}></a> <{/if}> <{/if}> <{else}> <{$imenu.title}> <{/if}> <{/foreach}> <!-- end module menu loop --> </td> </tr> </table>
... it seems that it is not possible to do what I would with this code. Is someone can give me some advice ?
Thanks in advance

nb : sorry for my bad english