471,887 Members | 1,143 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

how to display location of mouse pointer on an image, when mouse moves over it

Hi all,

I m worhing on creating an user intractive scatter graph images which contains thousands of points on it.

So,I would like to know that how could i display the
coordinates of every point on a scatter graph using javascript, when user mves their mouse pointer over each point shown in the graph.

i also want to know that can i fetch information regarding each point directly from the my database tables when i moves mouse over the specfic point on the graph
As well as when i clicked on a specific point it display entire information of that point on the same web page.

Please reply me as soon as possible.
thanging you
Apr 25 '07 #1
1 1810
16,027 Expert Mod 8TB
To get the mouse position, see this link. You can adapt this based on the image position within the page.
Jan 30 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Mel | last post: by
reply views Thread by Ahmad Jalil Qarshi | last post: by
7 posts views Thread by Martijn Mulder | last post: by
2 posts views Thread by quickcur | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.