我有8个div。我希望当页面准备就绪时,每个div都会淡入页面,然后是下一个页面.... 我试过这个,但所有的div一起淡入页面。我该怎么办? 感谢
<div class="parts" id="div1">
<img src="images/home_title.png" alt="" />
</div>
<div class="parts" id="div2">
<img src="images/call_title.png" alt="" width="150px" height="40px" />
</div>
<div class="parts" id="div3">
<img src="images/about_title.png" alt="" width="150px" height="40px" />
</div>
<div class="parts" id="div4">
<img src="images/about_title.png" alt="" width="150px" height="40px" />
</div>
<div class="parts" id="div5">
<img src="images/about_title.png" alt="" width="150px" height="40px" />
</div>
<div class="parts" id="div6">
<img src="images/about_title.png" alt="" width="150px" height="40px" />
</div>
<div class="parts" id="div7">
<img src="images/about_title.png" alt="" width="150px" height="40px" />
</div>
<div class="parts" id="div8">
<img src="images/about_title.png" alt="" width="150px" height="40px" />
</div>
和jquery:
$(document) .ready(function(){
$(".parts").each(function(){
$(this).fadeIn();
});
});