Results 1 to 5 of 5

Thread: Fading Image Slideshow help

  1. #1
    Join Date
    Feb 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fading Image Slideshow help

    Script: Fadein Image Slideshow
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    I would like some help to modify this script so that the images only rotate through once, leaving the last image displayed. Alternately, if someone can recommend another image script that could be modified to only rotate through the pictures one time, that will work, too.

    I searched the archive because I had seen this question asked before, but never answered.

    I've tried playing with the parameters to no avail. Can anyone tell me how to do this?

    Thanks in advance for helping with my first post.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Wow this was a little more elusive than I had thought as well. Probably because of all the moving parts in the script. Anyhow, this seems to work. Locate the line:

    setTimeout("rotateimage()",pause)

    and directly above it, add:

    if (nextimageindex==1)
    return

    This should cause the slideshow to stop once the last image is shown.

  3. #3
    Join Date
    Feb 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, THANK you! Your mod worked like a charm. I've added the change to my master script and commented around it so I don't forget what it was for and how to do it.

    I really appreciate the help.

  4. #4
    Join Date
    Feb 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Center images

    I have tried your fading image slideshow, and i am very satisfied. But i have not succseded in centering the images, or placing the imageshow inside a table. Could you possibly help me with that?

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmmm you should be able to place the script inside a table without problems. Incidently to center the script, placing it in the center column of a 3 column table will do.

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
  •