Solved

Display JavaScript tooltip when mouseover image coordinates

Posted on 2009-04-14
3
831 Views
Last Modified: 2013-11-26
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  
0
Comment
Question by:ALawrence007
  • 2
3 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 24141322
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 24141332
Be aware of the alt= attribute for the tooltip.
0
 

Author Closing Comment

by:ALawrence007
ID: 31570079
Thanks ZVonko. This was very helpful!!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now