Hi lovely list,

there is this wonderful new property for images "angle".

Can someone eventually supply a smart script to do the following ?

Supposed i have an image of an arrow (i actually do :-).

What should i script in a "mousemove"-handler to make that arrow
always point to the cursor ?

I know that i have to calculate the appropriate angle from the images loc
and the mouseloc. But how ?

No, i wont use "mouseloc" but "x,y" that are supplied with the mousemove 
function ;-)

A code-snippet would be heavily appreciated.

Thanks in advance.


Regards

Klaus Major
[EMAIL PROTECTED]

_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to