Results 1 to 3 of 3

Thread: Image with tooltip position problem. Need help.

  1. #1
    Join Date
    Feb 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image with tooltip position problem. Need help.

    Hello all,

    Script in question:

    http://www.dynamicdrive.com/dynamici...agetooltip.htm

    I have this installed in a website I'm working on. The tool tip works as expected, except when the page is scrolled down. If I hover over a link with the page scrolled down, the tool tip shows up either off the screen or at the top of the screen almost out of view. This only seems to be happening in Internet Explorer. Mozilla/Netscape/Opera seem to render it fine. You can see an example here:

    www.ssaes.org/test_site/calendar_2.htm

    This doesn't happen on the demo page on DynamicDrive.com. There are other scripts on the page, but even after removing them it still happens. I've even tried moving it around in the code but so far I haven't had any luck.

    By the way, my test system is Win XP Pro Sp2, IE 6. Firefox/Netscape/Opera are all latest and greatest versions.

    I'd really like to use this tool tip script because it's the only one I've found that includes images.

    Anyone have any ideas? Thanks.

    Viken K.

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

    Default

    From what I can tell this is due to the doctype bug (your page has a strict doctype, which is throwing off the script). I'll get to updating this script in the next few days, and post an update here.

    In the meantime, please note that you're currently in violation of our usage terms, by removing the credit notice of this script from the visible source. While it's OK to move our scripts to an external .js file, the credit should still remain visible in the page's (not script's) source:

    <script src="ascript.js">

    /*
    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
    */

    </script>

    Please reinstate the credit notice inside your page.

    Thanks

  3. #3
    Join Date
    Feb 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the reply. I forgot about the notice. Thanks for pointing it out. I'll reinstall the notice ASAP. I really like this script and would like to implement it.

    By the way, I have since moved to the XHTML Strict DOCType:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    You will update it and post it up in a few days? Should I just keep checking back or will you send me a "heads-up" notice?

    Thanks.

    Viken K.

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
  •