Hi I'm new to JS and I have been trying to get each image to load with a sequence delay... some help?
this is what I have so far http://codepen.io/unit60/pen/zqyRbm
$("img").unveil(-300, function() {
$(this).each(function(i) {
var self = this
setTimeout(function () {
$(self).css("opacity","1");
}, i*8000);
});
});
Hi I'm new to JS and I have been trying to get each image to load with a sequence delay... some help? this is what I have so far http://codepen.io/unit60/pen/zqyRbm
$("img").unveil(-300, function() { $(this).each(function(i) { var self = this setTimeout(function () { $(self).css("opacity","1"); }, i*8000); }); });