1.  It might be easier to use Sortable.create rather than trying to  
create the drag/drop manually.
http://wiki.script.aculo.us/scriptaculous/show/Sortable.create

2. The property you're looking for is "scroll", the value of the  
property should be the scrollable parent element.
If you insist on not using the sortable, it should go in the options  
hash for the Draggable.  (It's not documented there, but the code  
checks for it. See the Sortable.create page linked above for more  
information.)


TAG

On Jun 15, 2007, at 8:01 AM, irata wrote:

>
> Hello,
>
> I have a big problem with drag and drop items in divs that have
> scrollbars.
>
> See http://www.wagener.nu/drag for an example.
>
> If the right scrollbar is on the top everything is fine. But if you
> scroll down
> and drag and drop then the drop-divs don't match the cursor position.
> Any change to "repair" this?
>
> Hope you understand my english ;-)
>
> Best regards
>
> Tobias
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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