I go around the elements in this way:
jQuery.each($('#content_wrap > .an_post'), function() { setTimeout(function(){console.log('Hello timeout');}, 10000); });
for example
$('#content_wrap > .an_post').size()
is equal to 4. Then, according to the idea .each will bypass 4 elements in 40 seconds, but it works after 10 and immediately displays 4 'Hello timeout' to the console. Why it happens? This plunges me into the depths of despair!
In general, I wanted to do something like this:
jQuery.each($('#content_wrap > .an_post'), function() { $(this).fadeIn(1500); });
Those. So that 4 elements one after another disappeared with a difference in animation for about a second.