Hi - I have two columns, one of draggable elements, the other of
droppable elements. These are used to add items to a particular
collection.  (Story :habtm 'Assets')

Column 1 (Assets)            Column 2 (Stories)
==============          ==============
Draggable 1                     Droppable 1
Draggable 2                     Droppable 2
...                                    ...
etc.

I need to be able to drag any item from the first column onto any item
in the second column, even when the lists are long and both elements
are not visible on the screen at once, so I need the page to scroll
when I drag an asset to the edge of the browser screen.

I currently use the draggable_element helper on each of the assets,
and drop_receiving_element on each of the stories.  What can I do so
that when I want to drag an asset to a story that is off-screen, the
page will scroll until that story comes into view?

Many thanks,
Brandon


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