Results 1 to 7 of 7

Thread: Ultimate Fade-in slideshow - How do I add description text below the image area?

  1. #1
    Join Date
    Jan 2006
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow - How do I add description text below the image area?

    1) Script Title: Ultimate Fade-in slideshow (v1.5)

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

    3) Describe problem:
    I would like to be able to show a text description below each image that shows. It would be good if the text description was just another element in the fadeimages array that you could add in quotes.
    It does not need to fade the text description, just show it when the new slide shows.
    The text description would be just a few words describing the image.

    I have made a demo page (based on your very latest code mods for Safari and other options)..

    Example page :
    Click here to see my requirement.

    As you can see just below the image area are a few words "I would like a description to appear here for each slide, just a few words for each image that shows.".
    I would like that sentence to be a text string that relates to the current image being shown. This would then change for each image that shows.

    I have supplied a link on that demo page to the external .js file so you can see the code.

    What modifications would be needed to add this feature to the script?

    Best wishes and happy new year!
    Andy

  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

    You are in luck! I've just completed work on a new script that allows for the type of display you are seeking. Unfortunately it is not in the DD scripts library yet (I have no control over that). So, you will have to wade through the development notes and other commentary in this thread:

    http://www.dynamicdrive.com/forums/s...ad.php?t=15903

    To save you some time, the array option you should use is (shown here with an example array):

    Code:
    var slides2=[];
    //configure the below images and descriptions to your own. 
    slides2[0] = ["photo6.jpg", "Crucifix"];
    slides2[1] = ["photo7.jpg", "Alter Boys"];
    slides2[2] = ["photo8.jpg", "Young Pan"];
    slides2[3] = ["photo9_thumb.jpg", "Mona Lisa"];
    //optional properties for these images:
    slides2.no_controls=1;
    There are a host of other options laid out in post #3 of the above linked thread. The images may be linked as well, if desired.
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    You are in luck! I've just completed work on a new script that allows for the type of display you are seeking. Unfortunately it is not in the DD scripts library yet (I have no control over that). So, you will have to wade through the development notes and other commentary in this thread:

    http://www.dynamicdrive.com/forums/s...ad.php?t=15903

    To save you some time, the array option you should use is (shown here with an example array):

    Code:
    var slides2=[];
    //configure the below images and descriptions to your own. 
    slides2[0] = ["photo6.jpg", "Crucifix"];
    slides2[1] = ["photo7.jpg", "Alter Boys"];
    slides2[2] = ["photo8.jpg", "Young Pan"];
    slides2[3] = ["photo9_thumb.jpg", "Mona Lisa"];
    //optional properties for these images:
    slides2.no_controls=1;
    There are a host of other options laid out in post #3 of the above linked thread. The images may be linked as well, if desired.
    Hi John,
    I realize that you also have a modified version of the Ultimate Fade-In Slideshow script on your side. I was wondering if your scripts are also cross-browser compatible. If yes, can you tell me what browsers do the script support?

    http://home.comcast.net/~jscheuer1/s...opcity_hvr.htm

    Thanks!

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

    All major modern browsers (Opera, FF, IE, Safari, probably many minor ones), with a simple slide show default fall-back in most older browsers.
    - John
    ________________________

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

  5. #5
    Join Date
    Sep 2007
    Location
    Maui
    Posts
    642
    Thanks
    284
    Thanked 15 Times in 15 Posts

    Default

    Dear John:

    Forgive me if this is a dumb question (newbie), but I too would like to put a description under each image in the Ultimate Fade-in slideshow. Are you saying that to do that we need to use the code for the "Interactive image slideshow with text description" instead of the code for the Ultimate Fade-in Slideshow, and then add your code options for alt and title?

    Also, I looked at Andy's javascript for the UFS and he has an alt tag showing when you hover over his images. I did the image code exactly as he did, but can't get that to work either. Here is my code...

    fadeimages[0] =["/img/bregeda/a-new-dawn.jpg", "/art/a-new-dawn.php", "", "A New Dawn Giclee on Canvas"]

    Your help would be greatly appreciated. Aloha, aaron

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

    Quote Originally Posted by kuau View Post
    Dear John:

    Forgive me if this is a dumb question (newbie), but I too would like to put a description under each image in the Ultimate Fade-in slideshow. Are you saying that to do that we need to use the code for the "Interactive image slideshow with text description" instead of the code for the Ultimate Fade-in Slideshow, and then add your code options for alt and title?

    Also, I looked at Andy's javascript for the UFS and he has an alt tag showing when you hover over his images. I did the image code exactly as he did, but can't get that to work either. Here is my code...

    fadeimages[0] =["/img/bregeda/a-new-dawn.jpg", "/art/a-new-dawn.php", "", "A New Dawn Giclee on Canvas"]

    Your help would be greatly appreciated. Aloha, aaron
    Yours is a new post in an old thread. The script you should use is this one:

    http://www.dynamicdrive.com/dynamici...army/index.htm

    period. It doesn't need to be combined with anything else. Just follow the instructions on the demo page and you will be in business. If you have any problems, start a new thread in this section to ask for help on it.
    - John
    ________________________

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

  7. #7
    Join Date
    Sep 2007
    Location
    Maui
    Posts
    642
    Thanks
    284
    Thanked 15 Times in 15 Posts

    Default

    Dear John:

    Thank you for steering me in the right direction & getting back to me so quickly. It being my first time in the forum, I don't know how to tell if the info has been supplanted by further developments. Because of that, it seems I did a lot of unnecessary reading of your development notes and exchanges. I must say, I think you are brilliant. I went to your website and you definitely have the requisite nuttiness to balance your intellect.

    Anyway, I just wanted to make sure you were aware that your efforts are appreciated by very many people out there -- more than you know. I am very happy to have found you.

    Aloha from Maui, aaron

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
  •