|
comprug
Forum Regular
|
 |
Posted: Tue Mar 07, 2006 1:19 pm |
|
 |
 |
 |
 |
I am building a web analytics solution in JavaScript, and the idea is toknow what actuals LINKS the visitors click on, so you know what EXACTLY on the page interests them. I thought I could find out what element on the page they clicked on, by using onClick, and then registering the X and Y coordinates of the mouse. However, how do I find out the X and Y in JS?
Thanks!
|
|
|
|
qleyo
| Joined: 24 Jul 2005 |
| Posts: 11 |
| Location: Nottingham, UK |
|
 |
Posted: Fri Apr 07, 2006 3:22 pm |
|
 |
 |
 |
 |
A google search for "mouse coordinates in javascript" returned the first result as http://javascript.internet.com/page-details/mouse-coordinates.html
Google is your friend...
|
|
|
|
comprug
Forum Regular
|
 |
Posted: Fri Apr 07, 2006 9:29 pm |
|
 |
 |
 |
 |
Thanks
|
|
|
|
Jason101
Forum Regular
| Joined: 14 Mar 2006 |
| Posts: 547 |
| Location: Harrisburg, PA |
|
 |
Posted: Sat Apr 08, 2006 2:59 am |
|
 |
 |
 |
 |
I would give MouseTrends by Opencube a try..  OpenCube has some amazing products
http://www.opencube.com/mousetrends.asp
|
|
|