开发者

Jquery content fade help!

I have a news ticket fader in my home page. My html is like this:

<div id="news-conteiner">
  <div id="fader-cont-0">
   <div class="short-news">some txt</div>
   <div class="short-news">some txt</div>
   <div class="short-news">some txt</div>
  </div>
  <div id="fader-cont-1">
   <div class="short-news">some txt</div>
   <div class="short-news">some txt</div>
   <div class="short-news">some txt</div>
  </div>
</div开发者_开发百科>

I need show first 3 #fader-cont-0 > .short-news, after 3 sec fadeOut one by one, then when the first 3 are hidden, fadeIn the #fader-cont-1 > .short-news one by one etc... Someone know a plugin or the easy way for do it???


A combination of fadeToggle() and delay() should do this for you.

Have you got any code already?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜