As you can see it appears to be working fine but when you move your mouse away from the drop down it doesn’t disappear. Its also a little slow the first time you mouseover and you see the text before the Bg of the sub nav (Im guessing this is because the image is loading during that time although im repeating an image that’s 430 bytes??)
Id also like to style it so that ‘gear’ stays in its hover state when you go through the sub nav but i am not sure if this can be done or how it can be done.
The stop() function stops all currect animations. This prevents that the menu will go up and down for a while when you go in and out of the li with your mouse really fast and then move your mouse away. Hard to explain… remove the stops(), move your mouse like crazy over the menu and see what happens
PS. I removed the hoverClass function because this is just simpler
Also, when you want to extend jQuery, please extend jQuery.fn, not $.fn (so you can still use jQuery.noConflict() if you want).
By extending jQuery.fn you can still call it like you did in your example, as $ is just a copy of jQuery.
PPS. The stop() command probably gives you problems that when a menu item is opening and you remove your mouse from the item, the next time you hover the item it doesn’t open all the way (stops at the point where you removed your mouse the last time). There are tricks to avoid this, but AFAIK jQuery 1.4.1 has this problem resolved. Might want to use that version instead of 1.3.1.