Results 1 to 3 of 3

Thread: Presenational slide show

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

    Default Presenational slide show

    Presentational Slide Show
    http://www.dynamicdrive.com/dynamici...ationslide.htm

    I really like how this effect works, but I was wondering if I can change something to make it stop scrolling through the pictures. I want it to do 3 pictures and then stop, not start over with the first picture again.

    Thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    To do just 3 pictures or whatever number of pictures, start by only having that many images. Then to make it stop after one run through, change this part of the code:
    Code:
    nextimageindex=(nextimageindex<dropimages.length-1)? nextimageindex+1 : 0
    setTimeout("rotateimage()",pause)
    to:
    Code:
    if(nextimageindex<dropimages.length)
    nextimageindex++
    else
    return;
    setTimeout("rotateimage()",pause)
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default

    Thanks for the help, but it is still not working. Now the images don't even display. Any other ideas?

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
  •