這是我的代碼。最初的淡入淡出工作,沒有別的工作。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