image cycling

Out of context: Reply #7

  • Started
  • Last post
  • 13 Responses
  • mitsu0

    no problem, try this to make it easier:

    1.) first put your images in the same directory as the page this script is running on.

    2.) make sure your images are named img1.gif, img2.gif, etc.

    3.)change this line
    my_img.src="images/img"+ictr+".g...

    to this:

    my_img.src="img"+ictr+".gif";

    honestly, it'd be better to set up an image preloader for this do you know how to do that?

View thread