cycle img src based on a time interval -
01-20-2006
, 09:00 AM
Can someone give me a snippet of code that cycles an image every 5 seconds?
I have an image on my page that needs to change the src tag every 5 seconds.
All the code that I've seen that is similiar to this would cycle the image
on mouseover or onclick...
I've thought about doing a rotating GIF image, but I'd like to do it with
javascript if at all possible.
Thanks,
-- Jason |