1. Открываем фаил - big_category_tree.tpl
2. Находим:
{if $big_categories_tree && $big_categories_tree_count>0} [left] {section name=h loop=$big_categories_tree} {if $big_categories_tree[h].categoryID != 1} {section name=j loop=$big_categories_tree max=$big_categories_tree[h].level} {/section} [img]data/{$smarty.const.TPL}/pixel.gif[/img] {if $smarty.const.CONF_SHOW_COUNTPROD eq 1} {$big_categories_tree[h].products_count}{/if}[url="{if%20$smarty.const.CONF_MOD_REWRITE%20eq%201}category_{$big_categories_tree[h].categoryID}.html{else}index.php?categoryID={$big_categories_tree[h].categoryID}{/if}"]{$big_categories_tree[h].name}[/url] {if $smarty.section.h.index ne $big_categories_tree_count-1} [img]data/{$smarty.const.TPL}/pixel.gif[/img] {/if} {/if} {/section}[/left] {else} [center]{$smarty.const.STRING_NO_CATEGORIES}[/center] {/if}3. Заменяем:
{if $big_categories_tree && $big_categories_tree_count>0} {assign var="oldnumber" value=0}[list] {section name=h loop=$big_categories_tree} {if $big_categories_tree[h].categoryID != 1} {if $big_categories_tree[h].level > $oldnumber}[*] [list] {/if} {if $big_categories_tree[h].level < $oldnumber}{section name=w loop=$oldnumber-$big_categories_tree[h].level} [/list]{/section} {/if} {if $big_categories_tree[h].subcount > 0} {if $categoryID != $big_categories_tree[h].categoryID}[*]{else} [*]{/if}{else} [*]{/if}[url="{if%20$smarty.const.CONF_MOD_REWRITE%20eq%20%201}category_{$big_categories_tree[h].categoryID}.html{else}index.php?categoryID={$big_categories_tree[h].categoryID}{/if}"]{$big_categories_tree[h].name} {if $categoryID == $big_categories_tree[h].categoryID} {/if} {assign var="oldnumber" value=$big_categories_tree[h].level} {assign var="oldcat" value=$big_categories_tree[h].categoryID} {/if} {/section}[/url] [/list] [url="{if%20$smarty.const.CONF_MOD_REWRITE%20eq%20%201}category_{$big_categories_tree[h].categoryID}.html{else}index.php?categoryID={$big_categories_tree[h].categoryID}{/if}"]{else}[/url] [url="{if%20$smarty.const.CONF_MOD_REWRITE%20eq%20%201}category_{$big_categories_tree[h].categoryID}.html{else}index.php?categoryID={$big_categories_tree[h].categoryID}{/if}"]{$smarty.const.STRING_NO_CATEGORIES}[/url] [url="{if%20$smarty.const.CONF_MOD_REWRITE%20eq%20%201}category_{$big_categories_tree[h].categoryID}.html{else}index.php?categoryID={$big_categories_tree[h].categoryID}{/if}"]{/if} {literal} <script type="text/javascript"> navHover = function() { var lis = document.getElementById("navmenu-v").getElementsByTagName("LI"); for (var i=0; i lis[i].onmouseover=function() { this.className+=" iehover"; } lis[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" iehover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", navHover); </script> {/literal}Меняем цвет по вкусу!))) Пример:
Внимание! Это все для версии 3.1.x
Еще один вариант Java-меню в виде аккордиона: [/url]инструкция здесь