Results 1 to 3 of 3

Thread: Go thru images once and stop on last image, without repeating first image...

  1. #1
    Join Date
    Nov 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Go thru images once and stop on last image, without repeating first image...

    1) Script Title: Fade In Slide Show

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

    3) Describe problem:
    How can I configure FISS to go thru a list of images (A, B....G), and stop at G, without repeating A?
    I set type to auto, cycles to 1, and wraparound to false...

    If I use images A thru G, it will stop after it repeats A, which is not the desired end state. (ph4d.com/GoodmanTutor/RepeatFirst.htm)

    If I include G as the first and last image, it will stop correctly, but it's not the desired beginning state (ph4d.com/GoodmanTutor/RepeatLast.htm)

    Have tried all the combinations of type, cycles and wraparound....

    Any help is much appreciated...

    vince g.

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

    Default

    Try adding the line in red to the existing line below inside the .js file:

    Code:
    	setting.totalsteps=setting.imagearray.length*(setting.displaymode.cycles>0? setting.displaymode.cycles : Infinity) //Total steps limit (applicable in displaymode='auto' only w/ cycles>0)
    	setting.totalsteps-=1
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    mail@vinceg.com (08-03-2015)

  4. #3
    Join Date
    Nov 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    @ddadmin

    Found this post in a thread from 2010 http://www.dynamicdrive.com/forums/s...281#post217281, qand your solution worked perfectly... A big thank you!!Click image for larger version. 

Name:	DD_Forum.jpg 
Views:	104 
Size:	67.5 KB 
ID:	5704

    vince g
    Last edited by Beverleyh; 08-03-2015 at 07:04 PM. Reason: Link to old thread added for reference

Similar Threads

  1. How to stop a script repeating
    By guppy in forum JavaScript
    Replies: 1
    Last Post: 12-04-2010, 09:00 PM
  2. Repeating Content BG Image
    By lmw1 in forum HTML
    Replies: 3
    Last Post: 04-27-2010, 05:56 AM
  3. Tooltip image in repeating region
    By rja214 in forum JavaScript
    Replies: 0
    Last Post: 12-18-2009, 04:10 PM
  4. Min Height on Repeating Image
    By superjoepsu in forum CSS
    Replies: 0
    Last Post: 08-22-2008, 05:19 PM
  5. repeating image
    By redice in forum HTML
    Replies: 5
    Last Post: 02-08-2006, 07:09 PM

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
  •