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
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

robertgarrigos - February 28, 2009 - 16:28
Status:active» fixed

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

System Message - March 14, 2009 - 16:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.