Where should I hook in the code ?

I think I should override the drop array by a custom sorted array and
override show() function that seems to do the "search work" ?

How to cache by coordiante ? Is there a known algorithm to retrive an
object from it's closest coordinate x,y ? Seems complicated ?

"spiral" checking like Tom explains seems also complicated because
using the DOM to find closest object may take time

Any suggestion ?

On 2/26/07, Thomas Fuchs <[EMAIL PROTECTED]> wrote:
>
>
> Am 26.02.2007 um 18:42 schrieb Ryan Gahl:
>
> > And while we're on this topic... throw in the ability to properly
> > discern which of two overlapping droppables should get the drop
> > (based on zIndex I would imagine) rather than just stopping at the
> > first one that fits based solely on coordinates. Think, windowed
> > app...
> >
> > I have my own fix in my stuff, but it's not entirely generic. This
> > should be part of the d&d system out of the box.
>
> As I said, can it be made into a generic thing? if so, please
> provide... :)
>
> Best,
> Thomas
>
>
> >
>


-- 
Jean-Philippe Encausse - R&D Jalios SA
Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15
Do it Once, Use it Twice ~ Do it Twice, Make It Once

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to