Thank for this tip Sean!
I used the jquery equivalent ...
$("ul.menu li:last").addClass("last");
Cheers,
Joost
On 20 okt 2008, at 21:29, Sean Cribbs wrote:
If you know the length of the number of children, this is simple to
do. Say your root page has 5 children. I'd change your snippet t
If you know the length of the number of children, this is simple to do.
Say your root page has 5 children. I'd change your snippet to look like
this:
Otherwise, this is pretty simple to do with Prototype (give the an
ID like 'menu' or something):
$('menu').select('li').last