Results 1 to 6 of 6

Thread: Image Thumbnail viewer Text

  1. #1
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail viewer Text

    1) Script Title: Image Thumbnail Viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

    3) Describe problem:

    I am new to web building and am only building my own site, that said I have used your Image Thumbnail Viewer and it works exactly as I want except I can not make it show text.

    Is there script I need to change?
    Where does it source the text from?

    Thanks in advance

    Neil

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    You mean like:
    As mentioned in the intro, to use this script, just give the link on the page a rel="thumbnail" declaration, with the "href" pointing to the URL to the enlarged image. If the link contains a "title" attribute, its value will be used as the image's description:

    Code:
    <a href="castle.gif" rel="thumbnail" title="This is beautiful castle for sale!">Castle</a>
    The title attribute on the image tag adds text to the image.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

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

    My best guess, assuming you've done everything else right (a reasonable assumption if the script is working for you), is that you have something like white text on a white background or black text on a black background as far as the caption goes. This is governed by the overall styles (how they all work together as far as the caption text goes) of your page.

    If this is the issue, you should be able to drag the the mouse (with its left button depressed) over the otherwise invisible caption - the universal 'mouse highlight text move' - and the text will appear.

    But, it could be many things. If the ideas I presented here don't resolve this issue for you:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  4. #4
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, it was the colour. When I passed over with the mouse it would appear and then stay even when I closed and reopened the window.

    I have a black background and my normal text is set to white how can I change the colour on just the text in that attribute.

    The site is on my email servers site while I am building it. The images at the moment are just test ones but they work.

    http://home.exetel.com.au/neil_vince...y%20macro.html

    Thanks again

    Neil

  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

    In your thumbnailviewer.css stylesheet:

    Code:
    #thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
    background-color: white;
    color:#000;
    }
    But you might want to go with something more like:

    Code:
    #thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
    background-color: white;
    color:#222;
    font-family:sans-serif;
    text-align:center;
    }
    Last edited by jscheuer1; 06-21-2008 at 01:24 PM. Reason: add info
    - John
    ________________________

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

  6. #6
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thankyou John

    It worked like a dream.

    Thanks for the great support

    all the best

    Neil

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
  •