thanks<br><br><div><span class="gmail_quote">On 11/14/06, <b class="gmail_sendername">Flávio Gomes</b> &lt;<a href="mailto:flavio@economisa.com.br">flavio@economisa.com.br</a>&gt; 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 &quot;new&quot; 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>&gt; I would like to detect the movement direction of the mouse pointer.
<br>&gt; If it is going up, down, right, left . How is the best way to do this<br>&gt; feature?<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt;------------------------------------------------------------------------<br>&gt;<br>&gt;_______________________________________________
<br>&gt;Javascript mailing list<br>&gt;<a href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a><br>&gt;<a href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript
</a><br>&gt;<br>&gt;<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>