Rotating Images - Timed Image Swap

The Rotate Images JavaScript swaps images automatically on a timer. The code supports many options and features, such as:

  • Sequential or random rotation of linked or unlinked images.
  • Linked images can all have the same destination URL or each can specify its own.
  • A php directory listing can provide the images to be rotated.
  • Rotate virtually unlimited multiple instances.
  • Customizable rate of rotation.
  • Pause and resume rotation on mouseover and mouseout of linked images.

The JavaScript Image Rotator is object-oriented and unobtrusive with easy setup. A download file contains the code and example documents. See the list of online examples on the upper right.