Quote from: peteedley at Oct 02, 2008, 09:33 AM
OK thanks for that the css I can do how do I have wayfinder append the item number and how do I put this into the ID
Am not sure about this, never tried it, but maybe this is the parameter you need? &rowIdPrefix
&rowIdPrefix
default: FALSE
values: name of prefix
description: If this parameter is set, Wayfinder will replace the placeholder [+wf.id+] with a unique id consisting of the specified prefix plus the document id.
example: &rowIdPrefix=`topMenu` will output the following for doc # 29: id="topMenu29"
This is from wayfinder’s developer’s website.
http://www.muddydogpaws.com/development/wayfinder/parameters.html
More info from another wayfinder document says
If you’re writing custom templates and need an unique identifier for each row, then this is the parameter for you. For each document that WayFinder lists, the value you set in this parameter will be prepended to the document ID then placed in the [+wf.id+] placeholder. This placeholder can then be used in any row-level template.
The example from muddydogpaws is:
<li[+wf.id+][+wf.classes+]>
<a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>
[+wf.wrapper+]
</li>
If I understand this correctly, it means that for every list item <li> in your menu, you will have a unique id that you can target in your CSS.
Anyway, hope it solves your problem...
cheers/k