Drag & Drop

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

19-Jan-12 23:59
Good Morning,

I had gone through all your Drag & Drop articles. I too want to do drag & drop but should be done in a little different approach.
Both dragging and dropping should be carried out in clicks...i mean keep some image in each element blocks so that clicking on it once will decide that element is one that should be dragged and then similarly keep different image also on each block, clicking on that will decide that it should be dropped there.

The difference here is that we don’t want to hold the mouse for dragging till dropping instead one click will decide all these.
Hope you got want i asked.

Can anyone provide me some suggestions please!
20-Jan-12 00:42
@SoftBreeze: Can't think of an easy way I'm afraid. You could try hacking jquery.ui.draggable.js to work with mouse clicks instead of drags. Or write your own drag-and-drop code.

--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/

 
New posts
Old posts

Follow Elated