我的问题是,当您从一个选项卡转到另一个选项卡时,如何更慢地实现悬停效果?
if ($('#section ul').length) {
$("#section ul").accordion({
event: "mouseover",
active: 1,
collapsible: false,
autoHeight: false,
animated: 'swing',
duration: 1000
}).mouseleave(function() {
$(this).accordion('activate', "#mainmenu");
});
}
示例:http: //jsfiddle.net/jphuP/