Drupal Jquerymenu IE 7 fix patch
Drupal Jquerymenu IE 7 fix patch
Index: sites/all/modules/jquerymenu/jquerymenu.js =================================================================== --- sites/all/modules/jquerymenu/jquerymenu.js (revision 1.1.1.1) +++ sites/all/modules/jquerymenu/jquerymenu.js (revision 1.2) @@ -1,16 +1,18 @@ -// $Id: jquerymenu.js,v 1.1.1.1 2009/08/26 03:58:31 ishara Exp $ +// $Id: jquerymenu.js,v 1.2 2009/10/28 07:29:10 ishara Exp $ Drupal.behaviors.jquerymenu = function(context) { $('ul.jquerymenu:not(.jquerymenu-processed)', context).addClass('jquerymenu-processed').each(function(){ $(this).find("li.parent span.parent").click(function(){ momma = $(this).parent(); if ($(momma).hasClass('closed')){ $($(this).siblings('ul').children()).hide().fadeIn('3000'); - $(momma).children('ul').slideDown('700'); +// $(momma).children('ul').slideDown('700'); + if (!$.browser.msie) $(momma).children('ul').slideDown('700'); $(momma).removeClass('closed').addClass('open'); $(this).removeClass('closed').addClass('open'); } else{ - $(momma).children('ul').slideUp('700'); + if (!$.browser.msie) $(momma).children('ul').slideUp('700'); +// $(momma).children('ul').slideUp('700'); $($(this).siblings('ul').children()).fadeOut('3000'); $(momma).removeClass('open').addClass('closed'); $(this).removeClass('open').addClass('closed');
| Attachment | Size |
|---|---|
| jquerymenu_IE7.zip | 603 bytes |
