Results 1 to 3 of 3

Thread: step carousel stop autostep on last slide

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

    Default step carousel stop autostep on last slide

    1) Script Title: step carousel viewer
    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem: I have a series of photos and am using autostep to show them. I would like to the slide show to stop on the last photo. I have wraparound as false. The show will stop at the last photo if I disable autostep and use the buttons to move the slides. The viewer is part of a wordpress theme template so all the calls are done through php and functions.

    Thanks

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

    Default

    To stop the slideshow at the last panel in autostep mode, try finding the below line in the .js file, and add to it the part in red:

    Code:
    		if (config.currentpanel!=config.$panels.length-1)
    			config.steptimer=setTimeout(function(){stepcarousel.autorotate(galleryid)}, config.autostep.pause)
    DD Admin

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

    mssbee (09-08-2009)

  4. #3
    Join Date
    Sep 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks it worked perfectly. I really appreciate your help.

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
  •