Wordpress Themes - Submit articles - Debt Consolidation - Wordpress Themes - Find jobs

PDA

View Full Version : drag and drop on a limited area


gigamike
May 5th 2008, 9:45 am
Guys,

anyone who knows a tutorial/code something like this

http://www.videobox.com/beta/tour/scene-detail.seam?contentId=75702&raId=-1&sdBox=true&mainTab=browse&subTab=&cid=32466&clr=true

wherein the user can drag and drap on a selected area.

Thanks,

Mike

LogicFlux
May 5th 2008, 1:36 pm
http://developer.yahoo.com/yui/examples/dragdrop/index.html

http://geekswithblogs.net/AzamSharp/archive/2008/02/21/119882.aspx

gigamike
May 6th 2008, 8:55 am
many thanks LogicFlux :)

zerxer
May 7th 2008, 11:02 am
I'd suggest using jQuery as they have a simple plugin for initiating draggable objects and you can specify a DOM limit (for what they can be dragged in).

http://docs.jquery.com/UI/Draggables