Results 1 to 4 of 4

Thread: Ultimate Fade-in slideshow (v2.1) stop on last image

  1. #1
    Join Date
    Jan 2009
    Location
    Wisconsin
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow (v2.1) stop on last image

    1) Script Title: DD Ultimate Fade-in slideshow (v2.1)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem:
    How can I get the Ultimate Fade-in slideshow (v2.1) to stop automatically on the last image instead of cycling once and stopping on the first image? Is there a way to do this or appear to do this with hidden divs? This thread gets me close to what I want, but in reverse. http://www.dynamicdrive.com/forums/s...ad.php?t=50185

    Any help is appreciated. thank you.

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

    Default

    Simply find the below code in red inside the .js file:

    Code:
    if (setting.currentstep<=setting.totalsteps || setting.displaymode.cycles==0)
    and change that to just "<" (less than).
    DD Admin

  3. #3
    Join Date
    Jan 2009
    Location
    Wisconsin
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    This worked perfectly. Thank you!

  4. #4
    Join Date
    Feb 2011
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Ok I have tried what has been mentioned just using "<" and still the slideshow cycles back to the first image it was late when I tried it and maybe I was vioewing a cached version in test browser I will test agin and will also upload a demo to my testing server later for checking but here is the line of code as shown...I have tried with and without quote marks....
    setting.currentstep+=1if (setting.displaymode.type=="auto"){if (setting.currentstep<setting.totalsteps || setting.displaymode.cycles==0)setting.playtimer=setTimeout(function(){slideshow.showslide('next')}, setting.displaymode.pause)}

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
  •