<div id="submenu">
<div id="position">
<ul class="dwnavigation" id="dwnav_2" settings="startlevel:2;endlevel:2;">
<li><a href="#">punkt et</a></li>
<li><a href="#">punkt to</a></li>
<li><a href="#">punkt tre</a></li>
<li><a href="#">punkt fire</a></li>
</ul>
</div>
</div>
I would like that the div with the id "submenu" is hidden, if there is no subpages to the relevant "main" page. Can this be done without javascript?
E.g with if:defined? Has anyone got an idea to how this can be solved?
I would like that the div with the id "submenu" is hidden, if there is no subpages to the relevant "main" page. Can this be done without javascript?
E.g with if:defined? Has anyone got an idea to how this can be solved?