这是我的代码。最初的淡入淡出工作,没有别的工作。jquery图像效果不起作用
<script type="text/javascript" />
$(document).ready(function() {
$('#ButtonBGanim').fadeTo('fast',0.5);
$('#ButtonBGanim').mouseenter(function() {
$(this).fadeto('fast',1.0)
}).mouseleave(function(){
$this.fadeto('fast', 0.1);
});
});
</script>
<DIV id="ButtonBGanim"> </DIV>
是小写字母“T在'fadeto'一个错字? – Joel 2009-12-08 21:14:52
不应该在两个回调中使用'fadeTo'而不是'fadeto'吗? – 2009-12-08 21:15:21