I would like to combine a snippet that captures mouse position with
onclick to insert one axis of the mouse position into a variable for
form use.
I have the mouse position capture part ok.
Tutorial examples of onclick only explore what the author thinks are
typical uses of onclick.
So I guess I need to study the rules (or ask) for onclick...
What I envision, conceptually (what follows is not correct language-
wise - just look at for concept for now, please).
<A HREF="something"
onClick="VAR A=mouseX)";</A>
If mouse is clicked, I want one of the mouse position variables
defined by a separate mouse capure script insered into another
variable.
Can this be done, and is the HTML or JavaScript standard entry for
onclick the place to learn the rules for this, or is it a
combinational function that I will no find documentation on?
Thank you
Murray