Hi guys,
I'm trying to create a menu with dropline submenus that I got from Stu Nicholls' site using Wayfinder, however, I'm having a problem and I've been trying to figure it out but obviously I haven't yet!
My Wayfinder call is:
[[!Wayfinder?
&startId=`0`
&outerTpl=`dropline_outer`
&rowTpl=`dropline_row`
&innerTpl=`dropline_inner`
&outerRowTpl=`dropline_outerrow`
&hereClass=`current_page_item`
&firstClass=``
&lastClass =``
&removeNewLines=`TRUE`
]]
and the templates:
dropline_outer
<div class="dropMenu">
<ul>
[[+wf.wrapper]]
</ul>
</div>
dropline_row
<li>
<a href="[[+wf.link]]">[[+wf.linktext]]</a>
[[+wf.wrapper]]
</li>
dropline_inner
<div>
<ul>
[[+wf.wrapper]]
</ul>
</div>
dropline_innerrow
<li>
<a href="[[+wf.link]]">[[+wf.linktext]]</a>
[[+wf.wrapper]]
</li>
I have a menu with 5 menu items on the first level and one of those items contains 2 items.
The problem I have is that the menu works correctly (or rather how I want it) when I'm in the page with the submenu items. Ie, I hover over the menu item and the 2 submenu items appear.
This doesn't happen when I'm in any of the other pages. What am I doing wrong?
Any help would be greatly appreciated!
Theo