【发布时间】:2011-07-31 14:19:34
【问题描述】:
我无法正常工作:
$("#cloud1").live("mouseenter", function() {
$(this).append('<div class="cloud1"><img src="http://mercury-consulting.theportlandco.com/wp-content/uploads/2010/10/1.png" width="470" height="400"/></div>');
$(this).fadeIn('slow');
});
当我将鼠标悬停在 div 上时,它并没有消失,它只是出现了。不确定是什么问题 - 请告诉我!
【问题讨论】:
-
试试
$('.cloud1', this).fadeIn('slow');
标签: jquery animation jquery-events dom-manipulation