Ok, i've narrowed down the problem and it's with the jQuery and not the CSS. If a forum mod wants to move this topic feel free to do so.
Here's the jQuery that controls the menu:
Code:
$(document).ready(function() {
function megaHoverOver(){
$(this).find(".sub").stop().fadeTo('fast', 1).show();
$(this).calcSubWidth();
//Set Width
$(this).find(".sub").css({'width' : rowWidth});
}
function megaHoverOut(){
$(this).find(".sub").stop().fadeTo('fast', 0, function() {
$(this).hide();
});
}
var config = {
sensitivity: 2, // number = sensitivity threshold (must be 1 or higher)
interval: 100, // number = milliseconds for onMouseOver polling interval
over: megaHoverOver, // function = onMouseOver callback (REQUIRED)
timeout: 200, // number = milliseconds delay before onMouseOut
out: megaHoverOut // function = onMouseOut callback (REQUIRED)
};
$("ul#topnav li .sub").css({'opacity':'0'});
$("ul#topnav li").hoverIntent(config);
});
I can add:
Code:
.css('filter', 'none')
to here:
Code:
$(this).find(".sub").stop().css('filter', 'none').fadeTo('fast', 1).show();
But it cancels out the fadeTo in IE... How would I add it so it wont cancel the fading? Thanks.
I've updated the link above.
Bookmarks