how can I use e.pageY in jQuery to perform an event when mouse is moving up and not down?
<p>ok I am trying to create an event in jQuery that detects when a mouse is moving up. I am using
e.pageY event. so in this case I want the event to occur when the mouse's Y position is at less than 2. I have succesfully done that. here is the code.</p>

<pre><code>$(document).mousemove(function(e){ 

    if (e.pageY &lt;= 2){

       $('#mystuff').show();

    });

 });
</code></pre>

<p>Now the problem is when I open the page and move the mouse down, the #mystuff shows since the mouse goes through a position less than 2.</p>

<p>I only want the #mystuff to show when the mouse is moving up and not moving down.</p>

<p>I hope you get the point. </p>

<p>thanks. </p>
