Results 1 to 4 of 4

Thread: Need help with "image tooltip"

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

    Default Need help with "image tooltip"

    I put "image tooltip" into my site, it's in http://www.dynamicdrive.com/dynamici...agetooltip.htm, everything looks fine, does it? but it doesn't in my site, please refer to: http://www.top10-florists.com/horoscope.htm, notice that when you drag the scrollbar down, then you put your mouse over the links, the image doesn't show up as it should be, instead it shows up above the mouse cursor, the more the page you drag down, the more space it has, you can't even see the image when the links appear at the bottom of the page. But the script works well in other browers, like Firefox. Please help me figure it out, really appreciate that. Thanks in advance.

  2. #2
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    try renaming calla lily to 5. you have it set as 4.
    change the rest as needed.

    what are these:

    http://ad.linksynergy.com/fs-bin/sho...type=2&subid=0

    http://ad.linksynergy.com/fs-bin/sho...type=10&subid=

    ?

    aren't they supposed to be pictures?

    nice look though, I like the scorpio (I am scorpio)

    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

  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

    Here's the real fix, this has come up a few times with this and other event positioned scripts here that haven't gotten the doctype/document.body update yet. Do a global search and replace on the script:

    search for:

    document.body

    replace with:

    iecompattest()

    Then add this function to the script:
    Code:
    function iecompattest(){
    return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
    }
    It can go just about anywhere but, for simplicity's sake, put it just above the credit:
    Code:
    <script language="javascript" type="text/javascript">
    <!--
    
    function iecompattest(){
    return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
    }
    
    /*
    Image w/ description tooltip- By Dynamic Web Coding (www.dyn-web.com)
    Copyright 2002 by Sharon Paine
    Visit http://www.dynamicdrive.com for this script
    */
    - John
    ________________________

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

  4. #4
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, jscheuer1, thank you very much, the problem has been solved, everything looks fine, you're really a genius, hope to get your helps again next time.

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
  •