我試圖淡入jQuery中的元素,儘管它的簡單性,它並不適合我。下面的代碼:在jQuery上加載中淡化元素
<table><tr><td>Blah</td></tr></table>
$(document).ready(function() {
$("table").css('color','green');
$("table").fadeIn(2000);
});
而這裏的中的jsfiddle一個例子:http://jsfiddle.net/heUkN/1/