Posted By

Meander365 on 09/11/10


Tagged

javascript jquery fade


Versions (?)

Jquery Easy Fade In / Fade Out Cycle


 / Published in: jQuery
 

  1. $(function(){
  2. $('.fadein img:gt(0)').hide();
  3. setInterval(function(){
  4. $('.fadein :first-child').fadeOut()
  5. .next('img').fadeIn()
  6. .end().appendTo('.fadein');},
  7.  
  8. 5000);
  9. });

Report this snippet  

You need to login to post a comment.