Well, a couple things... One you added the image to a TD, which doesnt have a SRC attribute... You should add the image inside the div as an img element, not as a background to a TD.
Another thing, and I don't know if I am just missing something or what... But I don't see anything more than:
images = new Array(
"http://samedayclean.com/images/slides/slide01.jpg",
"http://samedayclean.com/images/slides/slide02.jpg",
"http://samedayclean.com/images/slides/slide03.jpg",
"http://samedayclean.com/images/slides/slide04.jpg",
);
var i = 1;
function rotatepic() {
if (document.rotate) {
document.rotate.src=images[i % images.length];
i++;
}
}
If thats all your doing, how do you i magine the images would even animate? There are no events to trigger the animation, and nothing transition the images. Here is some simple logic:
On document ready start slide show.
Wait 5 seconds
Transition first image out
Transition second image in
Wait 5 seconds
repeat.
Bookmarks