Jquery drop menu will not open in IE - how to fix this?

superbobs

New Member
I had to make some adjustments to my script to allow the Sprytabs to function within this dropdown menu. Everything is working perfectly for me in FF and Chrome , however I'm using IE9 also, and the menu will not even open. However if i open webdeveloper tools in IE, the menu begins to work fine, but on new load of browser will not open again. I don't know if this is a focus issue in IE with the script? Any help would be appreciatedhttp://jsfiddle.net/7aSDS/53/\[code\]$(function(){ $('#navigation_horiz ul li').bind('mouseenter',function(e){ $('#navigation_horiz ul li').removeClass('active'); $(this).addClass('active'); if($(this).children('.dropdown').length>0){ $('#navigation_horiz ul').next('.dropdown').attr('id',$(this).children('.dropdown').attr('id')); $('#navigation_horiz ul').next('.dropdown').html($(this).children('.dropdown').html()); console.log($('#navigation_horiz ul').next('.dropdown').html()); $('#navigation_horiz ul').next('.dropdown').slideDown(500); $('#navigation_horiz ul').next('.dropdown').children().css('opacity',0); $('#navigation_horiz ul').next('.dropdown').children().animate({opacity:0},0).animate({opacity:1},1000,'linear'); } }); jQuery.expr[':'].focus = function( elem ) { return elem === document.activeElement && ( elem.type || elem.href ); }; $('#navigation_horiz').bind('mouseleave',function(){ if($('#navigation_horiz ul').next('.dropdown').children().length > 0 && $('#navigation_horiz ul').next('.dropdown').attr('id')=='dropdown_login' && ($('#navigation_horiz ul').next('.dropdown').find('input').is(":focus") || $('#navigation_horiz ul').next('.dropdown').find('select').is(":focus") )){ }else{ $('#navigation_horiz ul li').removeClass('active'); $('#navigation_horiz ul').next('.dropdown').delay(700).slideUp(500); } }); $('#TabbedPanels1 .TabbedPanelsContentGroup').children().hide(); $('#TabbedPanels1 .TabbedPanelsContentGroup').children(":eq(0)").show(); $("#TabbedPanels1 .TabbedPanelsTabGroup li").live('click',function(){ $(this).parent('ul').next('.TabbedPanelsContentGroup').children().hide(); $(this).parent('ul').next('.TabbedPanelsContentGroup').children(":eq("+$(this).attr('tabindex')+")").show(); }); <!-- //-->});var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");\[/code\]
 
Back
Top