thanks<br><br><div><span class="gmail_quote">On 11/14/06, <b class="gmail_sendername">Flávio Gomes</b> <<a href="mailto:flavio@economisa.com.br">flavio@economisa.com.br</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
by saving the old event.x and event.y and then using a simple function<br>compare it to the "new" x and y on the onmousemove event<br><br>read about the mousemove event here. pretty important:<br> <a href="http://www.quirksmode.org/js/events_mouse.html">
http://www.quirksmode.org/js/events_mouse.html</a><br><br>ps.: my keyboard is broken, i'm using a virtual one! =D<br><br>Diego Chagastelles escreveu:<br><br>> I would like to detect the movement direction of the mouse pointer.
<br>> If it is going up, down, right, left . How is the best way to do this<br>> feature?<br>><br>> Thanks<br>><br>>------------------------------------------------------------------------<br>><br>>_______________________________________________
<br>>Javascript mailing list<br>><a href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a><br>><a href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript
</a><br>><br>><br><br>--<br>Flavio Gomes<br><a href="mailto:flavio@economisa.com.br">flavio@economisa.com.br</a><br><br>_______________________________________________<br>Javascript mailing list<br><a href="mailto:Javascript@LaTech.edu">
Javascript@LaTech.edu</a><br><a href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a><br></blockquote></div><br>