At the moment the dropmenu script generates a class for the last items in a menu. ie,
<li class="last">
This is great because I’ve got a css menu that makes extensive use of sprite manipulation in order to optimize button graphics and rollovers - and at the end of the menu the sprite position is moved so that the graphic for the last button has a rounded corner. So, using the class "last" I can separate it’s background position.
The problem I’m having, is that the method is also used for the first button - so I really need to generate a class for the first item in the navigation and call that, say; "first". ie. <li class="first">
Would anyone know a quick hack for the DropMenu script - so I can attach such a class to the first item in the menu ?
I’m not a php person so any tips would be greatly appreciated - thanks