Ok, This seems to have worked so far. I have set the css to show the sub menu on active rather than hover, just because this was causing some issues and seemed tidier. My problem now is that I need 2 subnav classes as the subnav 1 refers to the position of the first submenu for gallery but as it is now the commissions submenu appears in the same place as the gallery submenu. Whereas I want that to align with commissions. I have the class for the subnav 2 and in Dreamweaver I simply applied this class to the commissions page. But wayfinder is making this a bit more difficult than that.
This is my wayfinder:
[[Wayfinder? &startId=`0` &innerClass=`sub1` &rowTpl=`wfRow.Tpl` &hereClass=`here`]]
This is my chunk:
<li[+wf.id+][+wf.classes+]>
<a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>| [+wf.linktext+]</a>
[+wf.wrapper+]
</li>
This is my relevant CSS including the subnav2 class:
}
#nav {
float: left;
display:block;
}
#nav ul {
line-height: 24px;
margin: 0px;
padding: 0px;
}
#nav li a, #nav li a:visited {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
color: #FFFFFF;
text-decoration: none;
}
#nav li a:hover, #nav li a:active {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
color: #0099FF;
text-decoration: none;
}
#nav li.here a {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
color: #0099FF;
text-decoration: none;
}
#nav .sub1 {
top: 125px;
left: 124px;
position: absolute;
}
#nav .sub2 {
top: 148px;
left: 124px;
position: absolute
}
#nav ul ul {
display:none;
}
#nav ul li.here ul {
display:block;
}
#nav ul li:here ul {
display:block;
}
I still need to sort out the youarehere state (which I have now named to just "here") which is still applying to all the submenu li’s. Here is the url again.
We are getting SO close. I don’t know if there is a simpler way using the flyout revisit menu on muddydogpaws but I still can’t get my head around applying it to my site. As that works the way I want this to work minus the coloured blocks.
See here:
http://www.muddydogpaws.com/development/wayfinder/examples/example-6.html
Thanks again for all your help so far.