Solved

Display JavaScript tooltip when mouseover image coordinates

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

816 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

8 Experts available now in Live!

Get 1:1 Help Now