16/09/2015, 12:58:01
Tu n'as pas attaché la classe scrollTo à ton lien.
Dans ta navigation, modifie cette ligne (il n'y a que {else}class='{$node->alias}' à transformer en {else}class='scrollTo')
par celle-ci
Dans ta navigation, modifie cette ligne (il n'y a que {else}class='{$node->alias}' à transformer en {else}class='scrollTo')
Code :
{else}
<li{if $node->parent == true || $node->haschildren == true} class='{if $node->depth > 1}dropdown-submenu{else}dropdown{/if}'{/if}>
<a href='{$node->url}' {if $node->parent == true || $node->haschildren == true}class='dropdown {$node->alias}'{else}class='{$node->alias}'{/if}{if $node->target != ''} target='{$node->target}'{/if}>{$node->menutext}{if ($node->parent == true || $node->haschildren == true) && ($node->depth < 2)} <b class='caret'></b>{/if}</a>
{/if}
{/foreach}
Code :
{else}
<li{if $node->parent == true || $node->haschildren == true} class='{if $node->depth > 1}dropdown-submenu{else}dropdown{/if}'{/if}>
<a href='{$node->url}' {if $node->parent == true || $node->haschildren == true}class='dropdown {$node->alias}'{else}class='scrollTo'{/if}{if $node->target != ''} target='{$node->target}'{/if}>{$node->menutext}{if ($node->parent == true || $node->haschildren == true) && ($node->depth < 2)} <b class='caret'></b>{/if}</a>
{/if}
{/foreach}