Solved

Display JavaScript tooltip when mouseover image coordinates

Posted on 2009-04-14
3
850 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Open a link in vb.net 2 15
SSIS On fail action 5 38
Why is initialize not a function? 8 20
Need help converting bitmap to image in VB.Net 8 25
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

840 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