Web Design and Development Forums Archive
Index
-
JavaScript forum
how to see the mouse quardinates of the click
Post reply
I have a <td onmousedown='moveFunction();'>. Inside movefunction how can I see the mouse quardinates of the click, relative to the <td>?
get the absolute position of the mouse, and subtract the offsetTop and offsetLeft of the TD
Perfect! Thanks
Dubai Forum
|
Paris Forum
|
Webmaster Forum
|
Vegan Forum
|
Brisbane Forum
|
3D Forum
|
Jobs in Dubai
|
Jobs in London
|
London UK Classifieds
Archive script
by
RedHo.com