Hello everybody!
I am working with at xslt leftmenu!
This is what I have inserted in my page template:
<!--@If Defined(LeftMenu)-->
<div id="leftmenu">
<div id="navigation">
<div class="nav_header">
<span><!--@DwTopPageName--></span>
</div>
<!--@LeftMenu-->
<div class="nav_spacer"></div>
</div>
</div>
<!--@EndIf(LeftMenu)-->
It workes fine on pages with submenus, but when I have a page with no submenus, it doens't hide, and this is the output i get:
<div id="leftmenu">
<div id="navigation">
<div class="nav_header"><span>Menu</span></div> <ul />
<div class="nav_spacer"></div>
</div> </div>
I don't know why and where the <ul /> comes from?! Can anybody help me with this problem?? Thanks