Google Groups Home
Help | Sign in
Drag and Drop baby steps
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Joe Hewitt  
View profile
 More options Jul 2 2007, 9:12 pm
From: Joe Hewitt <joehew...@gmail.com>
Date: Mon, 02 Jul 2007 18:12:35 -0700
Local: Mon, Jul 2 2007 9:12 pm
Subject: Drag and Drop baby steps
Thanks to Tahoma Toelkes, we now know that the mousewheel event fires
when you do a two-finger vertical dragging motion on the phone.  It
seems that this only works over certain elements, like textarea.  It
also seems to work only for vertical dragging, not horizontal.  Still,
it's a start!  I've used this info to scratch my biggest iPhone itch,
which is to be able to drag and drop elements on a page.

Here is a very simple demo.  Touch the blue box with your index finger
and middle finger and then drag it up and  down in a precise vertical
line.  It should move with your fingers.  With the vertical
limitation, this still isn't very useful, but it's better than
nothing, right!

Try it yourself: http://www.joehewitt.com/files/dragger.html

- Joe


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey903  
View profile
 More options Jul 2 2007, 9:42 pm
From: Jeffrey903 <yankees...@gmail.com>
Date: Tue, 03 Jul 2007 01:42:36 -0000
Local: Mon, Jul 2 2007 9:42 pm
Subject: Re: Drag and Drop baby steps
Wow.  That is pretty sweet.  I can imagine that we will see some
pretty amazing stuff come from this and also when other similar
gestures are discovered.

On Jul 2, 9:12 pm, Joe Hewitt <joehew...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glen Murphy  
View profile
 More options Jul 2 2007, 10:47 pm
From: Glen Murphy <gmur...@gmail.com>
Date: Tue, 03 Jul 2007 02:47:31 -0000
Local: Mon, Jul 2 2007 10:47 pm
Subject: Re: Drag and Drop baby steps
I worked on this today - it shows 2D scrolling deltas:
<http://glenmurphy.com/tmp/iphone.html>

a mousewheel event doesn't fire if you do purely horizontal scrolling,
but will fire for partially horizontal scrolling, so I just poll for
those changes.

Annoyingly, it doesn't look like you can send requests while scrolling
(if you do an XHR or SRC request in the event handler, they just queue
up until the scrolling is done - blech).

~ Glen

--
http://glenmurphy.com

On Jul 2, 6:12 pm, Joe Hewitt <joehew...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google