Results 1 to 5 of 5

Thread: Ultimate Fade-in Slideshow Randam:false, Image Display Question

  1. #1
    Join Date
    Apr 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in Slideshow Randam:false, Image Display Question

    1) Script Title: Ultimate Fade-in Slideshow

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

    3) Describe problem: We want to change our slideshow from being random to displaying the images in the list order, but when I change the Random attribute to false then every time you click on the slideshow it's starts at the beginning of the list.
    Is there anyway in the code to make it so that when you click on the slideshow it goes to the next image on the list instead of starting over?
    We tried adding buttons with the togglerid attribute and we did not like the look and even then when you click on the actual slideshow image it still went back to the top of the list.

    Chase Polk

  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

    This not the standard behavior. When you click on the slideshow - regardless of whether it's in random mode or not, it will go to the link for that image if any. Otherwise it will simply pause until the mouse moves away from the slideshow.

    Maybe you mean that each time you go to the page with the slideshow on it, it starts at the beginning. If that's the problem, then you can set persist to true so it will remember which slide it was on previously.

    Or maybe you have done something that makes clicking on the show reload the page - like setting the href for each image to '#' or some other value that causes a reload.

    In any case, if you want more help, please post a link the page on your site that has the problematic slideshow, so we can check it out.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey John,

    Changing persist to true, does help the situation, but the slideshow does act like a link when clicked on. It does seem like it may be refreshing the page but I cant see anything in the code that would be causing that. We were hoping that there would be a way to make clicking on the slideshow load the next image on the list. Here is a link to the page with it set to randomize false and persist true: http://www.whiteboardps.com/

    -Chase
    Last edited by Beverleyh; 05-05-2016 at 07:15 PM. Reason: Formatting

  4. #4
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    The page is reloading because you have "_parent" in third position in every slide array, which is used as a link target. Position 2 in all the arrays is empty so the software doesn't know where to go when you click on the slide and is refreshing the current page in the same window. It doesn't make sense to have a link target without an URL so, if position 2 is empty then position 3 should also be empty.

    Also you are using version 2.4 of the software and the latest release is version 2.6.1.
    Last edited by styxlawyer; 05-05-2016 at 07:29 PM. Reason: Added version information.

  5. #5
    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

    You do have a link for each image " " (a space character). That's the same as telling it to go to the current page. The target field is a red herring, Change " " to "". Example:

    Code:
    ["images/home_slideshow/home_01.jpg", " ", "_parent", "GOFIT KETTLEBELLS "],
    and all similar should be:

    Code:
    ["images/home_slideshow/home_01.jpg", "", "_parent", "GOFIT KETTLEBELLS "],
    You can also get rid of the target, but it doesn't matter:

    Code:
    ["images/home_slideshow/home_01.jpg", "", "", "GOFIT KETTLEBELLS "],
    Last edited by jscheuer1; 05-05-2016 at 07:37 PM.
    - John
    ________________________

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

Similar Threads

  1. Resolved Ultimate Fade-in slideshow (v1.51) - date based image display
    By dacia121 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-30-2009, 06:43 PM
  2. Resolved Ultimate Fade-In Slideshow: No display
    By ArthurC in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-30-2008, 10:43 AM
  3. Resolved Ultimate Fade-In Slideshow: No display
    By whunter52 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-15-2008, 04:07 PM
  4. Display larger image in Ultimate Fade-in Slideshow
    By neilbradford in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-31-2006, 04:51 AM
  5. Ultimate Fade-In Slideshow Alt Image question
    By Techy in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-15-2006, 04:07 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
  •