01/11/2010, 15:46:48
Pas tout à fait : place-toi sur la page "présentation et survole son onglet.
Je pense que ceci va être tip top :
Je pense que ceci va être tip top :
Code :
{strip}
{if $count > 0}
<ul class="menu-nav">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<div class='ulwrapper'><ul>" times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string="</li></ul>" times=$node->prevdepth-$node->depth}
</div></li>
{elseif $node->index > 0}</li>
{/if}
{if $node->current == true && $node->parent == true && $node->depth == 1}
<li id="current" class="top parent"><a href="{$node->url}" {if $node->target ne ""} target="{$node->target}"{/if}><strong>{$node->menutext}</strong></a>
{elseif $node->current == true && $node->depth == 1}
<li id="current" class="top"><a href="{$node->url}" {if $node->target ne ""} target="{$node->target}"{/if}><strong>{$node->menutext}</strong></a>
{elseif $node->current == true}
<li id="current"><a href="{$node->url}" {if $node->target ne ""} target="{$node->target}"{/if}><strong>{$node->menutext}</strong></a>
{elseif $node->parent == true && $node->depth == 1}
<li class="top parent"> <a href="{$node->url}" {if $node->target ne ""} target="{$node->target}"{/if}><strong>{$node->menutext}</strong></a>
{elseif $node->depth == 1}
<li class="top"> <a href="{$node->url}" {if $node->target ne ""} target="{$node->target}"{/if}><strong>{$node->menutext}</strong></a>
{else}
<li><a href="{$node->url}" {if $node->target ne ""} target="{$node->target}"{/if}><strong>{$node->menutext}</strong></a>
{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-1}</li>
</ul>
{/if}
{/strip}