7 <script type='text/javascript'>
9 $('#html-menu div.item, #html-menu div.submenu').hide();
10 $('#html-menu div.menu').each(function() {
11 $(this).click(function(){
12 $('#html-menu div.mi').not('div.menu').not('[id^=' + $(this).attr('id') + '_]').hide();
13 $('#html-menu div.mi[id^=' + $(this).attr('id') + '_]').toggle();
21 [%- FOREACH item IN sections %]
22 <div id='mi[% menulevel %]_[% loop.count %]' class='mi [% item.spacer %] [% item.class %]'>
24 <a href="[% item.href | html %]" class='ml' target='[% item.target %]'><span class="mii ms">[% L.img_tag(item.img) %]</span><span class='mic'>[% item.label %]</span></a>
26 <span class="mii ms">[% L.img_tag(item.img) %]</span><span class='mic'>[% item.label %]</span>
29 [%- IF item.subitems.size %]
30 [% INCLUDE sections sections=item.subitems, menulevel= menulevel _ '_' _ loop.count %]