Results 1 to 5 of 5

Thread: Presentation Slideshow Script

  1. #1
    Join Date
    Jun 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Presentation Slideshow Script

    1) Script Title:
    Presentation Slideshow Script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...ationslide.htm
    3) Describe problem:
    How can I modify the script so it stops after cycling through the pictures once? I do not want it to run continually.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    My answer won't work, sorry.
    Last edited by Nile; 06-25-2008 at 08:13 PM.
    Jeremy | jfein.net

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

    Default

    Try finding the below line in the script, and adding to it the line in red:

    Code:
    if (curimageindex!=0 && nextimageindex!=1)
    setTimeout("rotateimage()",pause)

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Just a question:
    Code:
    if (curimageindex!=0 && nextimageindex!=1)
    setTimeout("rotateimage()",pause)
    else
    return false;
    }
    Would be better, right?
    Jeremy | jfein.net

  5. #5
    Join Date
    Jun 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your help, but I do not see this: if (curimageindex!=0 && nextimageindex!=1)
    in the code anywhere. Are we looking at the same script?

    the URL of the script I am trying to use is: http://www.dynamicdrive.com/dynamici...ationslide.htm

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
  •