Link to home
Start Free TrialLog in
Avatar of ALawrence007
ALawrence007

asked on

Display JavaScript tooltip when mouseover image coordinates

Hi to all,

I have an image on my web page. I also have some coordinates for the image and I want to display a tool tip or message when the mouse rolls over that coordinate.

How do I do that using JavaScript?

Thanks

Sample coordinates:

x:   136px  y:   246px  
width:   76px  height:   34px  
ASKER CERTIFIED SOLUTION
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Be aware of the alt= attribute for the tooltip.
Avatar of ALawrence007
ALawrence007

ASKER

Thanks ZVonko. This was very helpful!!