ok, so I\'ve got this code:
$(this).find(\'article.loading\').each( function(i) {
var el = this;
setTimeout(function () {
$(el).replaceWith(
I just modify your code and make a little change. Just a little trick.
$(this).find('article.loading').each( function(k, v) {
var el = this;
setTimeout(function () {
$(el).replaceWith($('#dumpster article:first'));
}, k*speed);
});
P.S. This solution is not the optimize solution but it help you to get job done fast. In most case it's fine. Just like jquery itself.