Results 1 to 2 of 2

Thread: rotate images onmouseover - anyone?

  1. #1
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default rotate images onmouseover - anyone?

    Hello, I have searched here a google and can not seem to find a script to do what I need. Any help is appreciated.

    I need a script to:
    1. Display a base image on a page, e.g. image0.jpg.
    2. On mouseover that image, it begins cycling through other images while the mouse is over it - (image1.jpg, img2.jpg, img3.jpg, etc.) and continues to cycle through them over and over again while the mouse is over.
    3. Onmouseout, it goes back to displaying the base image (image0.jpg).
    4. Needs to support multiple instances on the same page.

    This is for an index page for different galleries, so there will be like 20 images showing on the page, and when the visitor puts their mouse over any of the images, it will cycle through the preview images for that gallery.

    Thanks for your help.

    Tim

  2. #2
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Why don't use make an animated gif for the rollover state with the 20 images and swap the original image out for the animated gif on the mouse over state. Try www .thesitewizard.com/archive/rollovers.shtml for the code. Hope this helps.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •