Hi,
I just set up a page using the script.aculo.us Sortable object. I'm
using this on 1:n related records. So on one page, there are some
container elements with several items that are "sortable".
Example:
* Hotel 1
* Offer 1
* Ofer 2
* Hotel 2
* Offer 3
* Offer 4
* Offer 5
The sorting of the items (in the example "Offer"), should only be
possible within the parent object ("Hotel" in the example). But on
using the Sortable object of script.aculo.us allows to drag and move
around an item elsewhere.
So is there a function/option to define a boundary for dragging/moving
an item. It should only be possible within one of the parent containers
(withing a "Hotel" object in the example).
Thanks in advance!
olly
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---