0
當我非常快速地將元素懸停在元素之間時,會顯示兩個或多個元素。如果移動緩慢,它的作品完美。這裏是代碼:當元素之間的懸停速度太快時,雙元素顯示爲
$("#services_menu a").hover(function(e) {
var id = this.hash;
$("#services_description div:visible").not(id).fadeOut('fast', function(){
$(id).fadeIn();
});
e.preventDefault();
});
$("#services_description div:not(#agency_leasing)").hide();
我該如何解決這個問題?謝謝。
精彩了。謝謝! – Victor