• 1.
    $('.gallery dl dt img').each(function(i){
  • 2.
        var img = $(this);
  • 3.
    	setTimeout(function() {
  • 4.
    	img.toggleClass('color', !img.hasClass('color'));
  • 5.
        }, 500*i);
  • 6.
    });
$('.gallery dl dt img').each(function(i){ var img = $(this); setTimeout(function() { img.toggleClass('color', !img.hasClass('color')); }, 500*i); });

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter