That looks like it determines the position of the mouse on the page on
mouseDown, and then has a look on mouseUp and does a calculation with a
tolerance for minute movements.

I'm guessing it's that simple, because you can trick it by holding the mouse
button down (keeping it still) but moving the page up or down with the
cursor.

Either way, the amount of script needed for this seems excessive (unless
that's normal for YUI  :-S ).



Armand Datema wrote:
> 
> just found another example
> 
> YUI this time
> 
> http://blog.davglass.com/files/yui/gestures/
> 
> On 10/2/06, Dan Atkinson <[EMAIL PROTECTED]> wrote:
>>
>> http://www.xs4all.nl/~peterned/
>>
>>
>> Armand Datema wrote:
>> >
>> > there was a good script once that used mouse gestures
>> >
>> > it was from a dutch guy his site was called peterned  but i couldnt
>> > find it back anymore
>> >
>> > Armand
>> >
>> > Armand Datema
>> > CTO SchwingSoft
>> >
>> --
>> View this message in context:
>> http://www.nabble.com/mouse-gestures--tf2359444.html#a6604702
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
>>
> 
> 
> -- 
> Armand Datema
> CTO SchwingSoft
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/mouse-gestures--tf2359444.html#a6912269
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to