Solved

Display JavaScript tooltip when mouseover image coordinates

Posted on 2009-04-14
3
818 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

707 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

9 Experts available now in Live!

Get 1:1 Help Now