我对背景图像有条纹,它具有列表项目的非活动图像和活动图像。我想慢慢加载活动类。用jquery慢慢更改课程
CSS例如,对于一个跨度
.customer1 { width: 105px; height:68px; background:url(../img/in-customer1.png) 0px 15px no-repeat; display:block; }
.customer1_active { background:url(../img//customer1_active.png) 0px -70px no-repeat; }
HTML
<div id="customers">
<span class="customer1"></span>
<span class="customer2"></span>
<span class="customer3"></span>
<span class="customer4"></span>
</div>
试过到目前为止
$(this).removeClass('default').addClass('fixed').fadeIn('slow');
请帮忙^ h嗷嗷,我可以在跨度
谢谢额外的主人。这排序我的问题。 :) :) :) – Sharmaji