This code is for the clickable links on the same top level menu.
How do I change this to also allow child menu items and the entry not clickable on the same top level menu?
<li [[+wf.id]][[+wf.classes]] onClick="void(0)">
[[+menuHeader:is=`Yes`:then=`<span class="menuSectionHeader">[[+wf.linktext]]</span>`]]
[[+menuHeader:isnot=`Yes`:then=`
[[+wf.level:isnot=`1`:then=`<a href="[[+wf.link]]" [[+wf.attributes]]>`:else=`<span>`]]
[[+wf.linktext]]
[[+wf.level:isnot=`1`:then=`</a>`:else=`</span>`]]
`]]
[[+wf.wrapper]]
</li>
I think this is the code that creates a top level menu with items. So these 2 need to be combined I think.
[[+menuHeader:is=`Yes`:then=``]]
[[+menuHeader:isnot=`Yes`:then=`<option [[+wf.classes]] value="[[+wf.link]]">[[+wf.linktext]]</option>`]]
[[+wf.wrapper]]