class first and last in 1st menu
4ud - February 25, 2009 - 09:55
| Project: | Menu Block Split |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi Robert,
i would like to suggest you to add a class in the 1st menu block for the first and the last menu item, similar to the spilted 2nd menu ?
and also add in the spilted 2nd menu the auto increased id class (menu-2...) to the li items between first an last li item ?
<ul class="menu">
<li class="leaf first menu-1">.....</li>
<li class="leaf menu-2">.....</li>
<li class="leaf menu-3">.....</li>
<li class="leaf last menu-4">....</li>
</ul>thx, 4ud

#1
I added the first and last class for the first block. In the second block there is already a class for each item as menu-mid. I think that is enoguh, which is the same drupal's default classes for menu items. I added this functionality to .dev.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.