The Netlobo logo - a Nevada desert landscape

Comments for Javascript Tool-tips

< Back to the article

8 comments for this article.

RSS Feed Icon Subscribe to the comments for this article

Posted: 2007-12-10 13:14:16 by Joakim
Hi there.
I'm using your tooltip script, but have experienced an error. In IE7, when you scroll down the page, the tooltip stays in the top of the page, out of sight. Can you fix it? (-:

Joakim
Posted: 2007-12-10 13:15:32 by lobo235 - Netlobo Staff Member
I will put it on my to-do list and I will email you when I get to it.
Posted: 2007-12-10 15:06:38 by Joakim
I'll be waiting, as i still am using your fantastic tooltips (-:
Posted: 2008-04-04 06:14:05 by AJan

nice script
Posted: 2008-07-21 23:20:42 by naturalG
To fix IE7 and IE6 mouse position bug just change definition of mouseCoords(ev):
function mouseCoords(ev)
{
  if(ev.pageX || ev.pageY){
    return {x:ev.pageX, y:ev.pageY};
  }
  return {
    x:ev.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft),
    y:ev.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop)
  };
}
Posted: 2010-01-26 21:26:28 by BEBEN
thanks...its usefully
Posted: 2010-03-18 08:59:34 by Mason
How do I make the tooltip not follow the mouse and make it hoverable ( so i can move the mouse on to the tip to click on links)
Posted: 2010-07-20 08:06:31 by Will
Thanks. What do I need to change in the js to have the tool tip only appear on hover? I have the css and <div> info setup already.

RSS Feed Icon Subscribe to the comments for this article

Post your comment for the Javascript Tool-tips article:

Name (required) (letters and numbers only):
Email (required) (will not be published):
Website (include http://):
Comment (required): (HTML tags allowed: pre, strong, em, b, i)