我有这个代码:
$(document).ready(function () {
$(this).hoverAccordionMenu(); //build left menu accordion effects
/*ie6 hack for mouse over icons on 2nd level. Not part of the plugin. optional!*/
if ($.browser.msie && $.browser.version.substr(0, 1) < 7) {
//rollover arrow which doesn't work with simple css
$('ul.menu > li > ul > li').bind("mouseenter", function (e) {
$(this).css("background", "url(ico-arrow-level2.gif) no-repeat");
});
$('ul.menu > li > ul > li').bind("mouseleave", function (e) {
$(this).not(".active").css("background", "none");
});
}
});
我已经放入了一个 jsfiddle 来向您展示:
谁能告诉我为什么上下滑动有震动而不是平滑?
提前致谢!
(PS,抱歉,刚刚想起了标题,但是这里已经快凌晨 4 点了,所以我的大脑有点慢!刚去编辑它,但它已经修复了,谢谢!)