2
I have 4 images: one image on the other inside a div
. It’s on top of each other because it’s in position absolute
. I’d like to make a slideshow simple, just to learn its basic functioning within a loop. What’s wrong with the code below?
(Note: All code is available here)
$(document).ready(function() {
for ($n = 0; $n < 3; $n++) {
$('img:eq($n)').fadeToggle().delay(3000).fadeToggle();
}
});
Look! Thanks! This gave me a new way of thinking my codes! Really works better!
– Fiel