我有以下代碼:將鼠標懸停在李名單上改變圖像,但不能趕上
$(document).ready(function(){
$('.active-bean-bag ul li.bean-bag-image').mouseover(function() {
var activeBeanBag = 'menu-' + $(this).attr("id");
$('.active-bean-bag img.menu-image').stop(true, true).fadeOut();
$('.active-bean-bag img.menu-image').fadeOut(function(){
$('.active-bean-bag img.menu-image').attr("src", '/skins/template/customer/images/'+activeBeanBag+'.png');
$('.active-bean-bag img.menu-image').fadeIn();
});
});
});
但是當你搬過來的李選項快速得到你想要它不會趕上和一個顯示不正確的圖像提前
請不要使用網址縮短服務,棧溢出,不收取你每字符,我們想知道我們要去哪裏當我們點擊一個鏈接。 –
它是一個開發網站,我不希望它出現在谷歌的結果。 – 1Line
不會,所有鏈接都有'rel =「nofollow」'來防止使用堆棧溢出作爲提高Google排名的手段。 –