cancelling droppable if draggable dropped on different droppable
- From: Rob Clayburn <rob (at) data-sphere.co.uk>
- Date: Thu, 16 Feb 2006 11:17:18 +0100
I'm writing a web app in which I have several 'windows' in which the
user can perform given functionality.
So for example I have one window which manages images on a server (drag
an image into a folder and the file physically moved on the server via
ajax ) These images can also be dragged into another window to create a
slideshow.
My problem occurs if my image manager window is positioned over my
slideshow window. When I try to drag an image into a new folder and the
folder icon (which is a droppable) is located above the slideshow window
(again a droppable) both dcroppables receive the event.
How can I ensure that the droppable with the greatest zindex receives
the drop first and then how can I ensure that the event is not passed to
the droppable below?
Or alternatively how can I ensure that a droppable is only activated if my dragable is dropped out side of my image manager window?
Many thanks
Rob
--
e: rob (at) pollen-8.co.uk
w: www.pollen-8.co.uk
t uk: 0871 218 0278
t fr: 00 33 (0) 5 46 34 31 20
skype: rob_clayburn
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs