Re: [jQuery] mouse gestures?
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/
Re: [jQuery] mouse gestures?
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/
Re: [jQuery] mouse gestures?
Yeah, YUI uses tons and tons of code, i think it was around half a meg!On 10/20/06, Dan Atkinson [EMAIL PROTECTED] wrote: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 atolerance for minute movements.I'm guessing it's that simple, because you can trick it by holding the mousebutton 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 (unlessthat'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 peternedbut 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#a6912269Sent from the JQuery mailing list archive at Nabble.com.___jQuery mailing listdiscuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] mouse gestures?
I don't know many people who would be able to write anything much with the mouse, but it'd be a proof of concept all the same. That's what Wacom tablets are for ;) -- View this message in context: http://www.nabble.com/mouse-gestures--tf2359444.html#a6601083 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] mouse gestures?
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 On 10/2/06, Brian Litzinger [EMAIL PROTECTED] wrote: I don't know many people who would be able to write anything much with the mouse, but it'd be a proof of concept all the same. That's what Wacom tablets are for ;) -- View this message in context: http://www.nabble.com/mouse-gestures--tf2359444.html#a6601083 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/
Re: [jQuery] mouse gestures?
This seemed like an interesting problem so I've attempted to solve it. Be kind.BlairOn 9/30/06, Matt Stith [EMAIL PROTECTED] wrote: This is the closest i've found:http://bradfitz.com/hacks/gestures/ On 9/29/06, Brian Litzinger [EMAIL PROTECTED] wrote: Has anyone done any work with mouse gestures? For example detecting if the user drug the mouse on a specific element at least 50 pixels left/right,right/left, up/down, down/up?--View this message in context: http://www.nabble.com/mouse-gestures--tf2359444.html#a6573213Sent from the JQuery mailing list archive at Nabble.com .___jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___jQuery mailing listdiscuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] mouse gestures?
This is really good, and written better than what I could have done. In my case I'm needing it to affect numerous elements on the page such as li.sortableitem's. It doesn't seem to be allowing me to get the id of which element is clicked on. -- View this message in context: http://www.nabble.com/mouse-gestures--tf2359444.html#a6584504 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] mouse gestures?
I just saw this discussion here. http://episteme.arstechnica.com/eve/forums/a/tpc/f/6330927813/m/378000821831 Looks like the translated version of this should work: document. () { return false; } // IE document. () { return false; } // Others -Kurt From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Blair McKenzie Sent: Saturday, September 30, 2006 7:55 PM To: jQuery Discussion. Subject: Re: [jQuery] mouse gestures? Good point. I've updated the plugin so that the gesture callback has access to the originating element as 'this'. BTW I can't for the life of me remember how to suppress text selection, if anyone can give me a hand I'd appreciate it. Blair On 10/1/06, Brian Litzinger [EMAIL PROTECTED] wrote: This is really good, and written better than what I could have done. In my case I'm needing it to affect numerous elements on the page such as li.sortableitem's. It doesn't seem to be allowing me to get the id of which element is clicked on. -- View this message in context: http://www.nabble.com/mouse-gestures--tf2359444.html#a6584504 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] mouse gestures?
Thanks Kurt, that did the trick. :)On 10/1/06, Kurt Mackey [EMAIL PROTECTED] wrote: I just saw this discussion here. http://episteme.arstechnica.com/eve/forums/a/tpc/f/6330927813/m/378000821831 Looks like the translated version of this should work: document. () { return false; } // IE document. () { return false; } // Others -Kurt From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Blair McKenzie Sent: Saturday, September 30, 2006 7:55 PM To: jQuery Discussion. Subject: Re: [jQuery] mouse gestures? Good point. I've updated the plugin so that the gesture callback has access to the originating element as 'this'. BTW I can't for the life of me remember how to suppress text selection, if anyone can give me a hand I'd appreciate it. Blair On 10/1/06, Brian Litzinger [EMAIL PROTECTED] wrote: This is really good, and written better than what I could have done. In my case I'm needing it to affect numerous elements on the page such as li.sortableitem's. It doesn't seem to be allowing me to get the id of which element is clicked on. -- View this message in context: http://www.nabble.com/mouse-gestures--tf2359444.html#a6584504 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___jQuery mailing listdiscuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/