1
我有以下代碼:變化圖像和淡入懸停
$('div.test').hover(function() {
$(this).find('img').attr('src', 'img/personale/test2.png');
}, function() {
$(this).find('img').attr('src', 'img/personale/test.png');
});
而懸停改變形象我怎麼能添加淡入效果?
你爲什麼鼠標離開'src'設置爲相同的圖像? – 2014-10-12 11:14:07
對不起我的壞,firast是test2:D – roleplaynoex 2014-10-12 11:24:12