Results 1 to 3 of 3

Thread: Image Thumbnail Viewer II - Long Captions on click with rollover

  1. #1
    Join Date
    Nov 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II - Long Captions on click with rollover

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem:

    I'm new to this and would greatly appreciate any help. I searched the forums and figured out variations of what I would like to do, but not exactly what I'm looking for. I'm able to use this script perfectly but would like to add captions to the images.

    Here's what I need: The thumbnail images have a rollover and function onClick. The captions are long, can be several paragraphs, so loading these in the title is not ideal. Also, I would like a title in a different format than the description.

    Here's the sample link: http://www.weidenhamer.com/gallery1/

    Thanks!!!

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

    Default

    Instead of storing the captions inside the thumbnail's title attribute, the two other feasible places would be:

    1) As JavaScript variables
    2) Directly inline on the page as regular HTML

    For 1), you'd probably be confronted with the same cumbersomenesses as with the title attribute. For 2), the changes required would be rather extensive though, enough that it would warrant a new script created actually. In the meantime, you may want to look at Switch Content Script II, which actually does most of what you want. The Switch Icons in this case would be your thumbnail images instead.

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

    Default

    Thanks for your help. I ended up just putting the description in the title. Every browser/platform is fine except IE 7. The rollovers seem to be causing problems. How can I fix this? Your help is greatly appreciated!

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
  •