[英]ddsmoothmenu not loading in IE7 and IE8
我正在使用 Dynamic Drive 的 ddsmoothmenu 为我的网站形成一个下拉菜单。 它在 FF/Chrome/IE9 中完美运行,但在 IE7 和 IE8 中无法运行。 根据调试器没有父 function 在这里找到:
var $mainmenu=$("#"+setting.mainmenuid+">ul") //reference main menu UL
$mainmenu.parent().get(0).className=setting.classname || "ddsmoothmenu"
var $headers=$mainmenu.find("ul").parent()
这就是我调用菜单的方式:
ddsmoothmenu.init({
mainmenuid: "header_top_menu",
orientation: 'h',
classname: 'ddsmoothmenu',
contentsource: "markup"
});
有没有办法让它在 IE 中工作?
使用 HTML5 Polyfill 应该允许您在旧浏览器中毫无问题地使用新的 HTML5 语义元素,请查看http://code.google.com/p/html5shiv
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.