i''m new to the rails scene and even newer to scriptaculous. my background in javascript toolkits is simply jquery, and my question today is about draggables. i''ve added <div id="test" style="width:100px;height:100px;background-color:red;z- index:1;">hello</div> <%= draggable_element "test", :revert => false %> into my rhtml file and everything works nice. however I want to restrict the movement of this div within it''s parent confounds. for example, i want to define a parent div 200px by 200px and I want to ensure that my draggable div can only move within it, and not outside. "containment" using jquerys'' interface_elements allowed me to do this, yet I can''t seem to find a way to achieve this within rails/scriptaculous, so hence my call for help.. ideas/suggestions welcome... thanks --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---