? nice_menus-iehoverclass-170840-6.patch
? nice_menus-iehoverclass-170840-8.patch
Index: nice_menus.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nice_menus/nice_menus.js,v
retrieving revision 1.5.2.5
diff -u -p -r1.5.2.5 nice_menus.js
--- nice_menus.js	7 Dec 2007 17:57:00 -0000	1.5.2.5
+++ nice_menus.js	11 Dec 2007 14:50:05 -0000
@@ -9,6 +9,15 @@ if (document.all) {
           $(this).removeClass("over").find("> ul").removeShim().hide();
         }
       );
+      // Add a hover class to all li for CSS styling. Silly naming is done
+      // so we don't break CSS compatibility for .over class already in use
+      // and due to the fact that IE6 doesn't understand multiple selectors.
+      $("ul.nice-menu li").hover(function(){
+          $(this).addClass("ie-over");
+        },function(){
+          $(this).removeClass("ie-over");
+        }
+      );
     }
 
     // This is the jquery method of adding a function
