【发布时间】:2019-06-18 20:07:54
【问题描述】:
谁能帮我修复 IE11 上的这个菜单,在 chrome 上运行没有问题?
$(".menu > ul > li").hover(function (e) {
$(this).children("ul").stop(true, false).fadeToggle(150);
if ($(this).children("ul").css('display') == "block") { $(this).children("ul").css('display', 'flex'); }
e.preventDefault();
});
`
【问题讨论】:
-
欢迎来到 Stack Overflow!寻求代码帮助的问题必须包含在问题本身最好是在堆栈片段中重现它所需的最短代码。尽管您提供了一个链接,但如果它变得无效,那么您的问题对于未来遇到同样问题的其他 SO 用户将毫无价值。见Something in my website/example doesn't work can I just paste a link。