Results 1 to 2 of 2

Thread: Image Thumbnail Viewer II

  1. #1
    Join Date
    Feb 2008
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem:
    hi,
    how do I change the font and colour of the text for the "title" attribute of the thumbnail that appears underneath the enlarged image?
    thanks

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

    Default

    Well, inside the .js file, the description portion is output here:

    Code:
    if (description!="") //Use title attr of the link as description?
    imageHTML+='<br />'+description
    You could do a universal formatting of it by adding in the desired HTML tags, for example:

    Code:
    if (description!="") //Use title attr of the link as description?
    imageHTML+='<br /><span style="font: bold 14px Arial; color: red">'+description+'</span>'

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
  •