Return to Snippet

Revision: 16112
at July 27, 2009 06:29 by funkadelicsoul


Initial Code
$('div.hint').children('ul').children('li').hide();
$('p.comments').click(function(){
   var trgtUL = $(this).next('div.hint').children('ul');
   function fadeInOut(i) {
      trgtUL.children('li').eq(i).fadeIn(3000).fadeOut(3000, function() {
            if ($(this).next().is('li')) {
               fadeInOut(i + 1);
            } else {
                return false;
            }
       });
   }
   fadeInOut(0);
});

Initial URL

                                

Initial Description

                                

Initial Title
Fade in and out

Initial Tags

                                

Initial Language
jQuery