Results 1 to 8 of 8

Thread: Slideshow with text description?

  1. #1
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Slideshow with text description?

    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 am using this script and the result looks super . Thanks so much! However I’d like to make a tiny addition – I’d like to be able to display some additional information about each photo when you hover over the slideshow and pause it. Is it possible to display the “alt” information when you hover over a picture?

    Thanks so much,
    Holly

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    See http://www.twey.co.uk/files/slide.html. alt is not meant for mouseovers; it is to be displayed in the case that the image is unavailable. Only Internet Explorer displays it on mouseover. Instead, the "title" attribute should be used for this effect. My code above is capable of both.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much. I'll give that a try.

    Holly

  4. #4
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    Great changes you made to this great script. Thank for share it.
    I have a question to you: in the dropdown <select id="selectimage"> where you fill with slidedescs? and where do the selected action? because I want to fill with the number of pic.

    Again Thanks
    Last edited by leviatan21; 10-09-2006 at 04:19 PM.

  5. #5
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Twey:
    For explain my before post I do:

    inside the <script> I put
    //Create the array of n&#186;
    function createnumbers(){
    for (i=0; i< slidedescs.length; i++)
    document.write('<a href="javascript:gotoshow(\''+slidedescs[i]+'\')">' +i+ '</a> ')
    }
    and in the body
    <script type="text/javascript">
    createnumbers() //This call writes out the numbers
    </script>

    It display the array for the number of photos and do a link to it, but the gotoshow do not work.

    How do you the select?

    Thanks

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    There's no gotoshow() function. I think you're confusing this with another script. Set whichimage then slideit(false).
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    but what is whichimage, the slideimages[], the slidedescs[] or what?

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It's a variable containing the number of the current slide.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •