In my case I'm looking for compatibility with the Special Menu Items module. The menu items created with a 'nolink' attribute have <span>'s instead of <a>'s.
By putting the classes in the <li>'s would make it possible to modify these menu items without a link as well.
Comments
Comment #1
Anonymous (not verified) commented(I wrote "
<li>instead of<a>")Comment #2
Anonymous (not verified) commentedFound it http://drupal.org/node/345624 - lets put that in menuclass module, shall we? Thx
Comment #3
stephthegeek commentedAgreed, it would be great if either Menu Class or Menu Attributes did this so it's possible to target both elements.
Comment #4
maijs commentedAgree, styling of
<li>element is much more useful as it is lets one style both a list item and everything beneeth it.Comment #5
danny_joris commented+1
In my case I'm looking for compatibility with the Special Menu Items module. The menu items created with a 'nolink' attribute have
<span>'s instead of<a>'s.By putting the classes in the
<li>'s would make it possible to modify these menu items without a link as well.Comment #6
Andrew Gorokhovets commented+1
Comment #7
timofey commented+1 from me also:)
Comment #8
td540 commented+1
Comment #9
porg commented+1
Comment #10
daniboy commentedThis module is now obsolete. Please see the module's project page.