Rob Mayhew wrote:> Is there any component in rails that makes a draggable window?
The draggable functionality is provided through javascript. Take a look
at the script.aculo.us documentation at
http://wiki.script.aculo.us/scriptaculous/show/DragAndDrop
Script.aculo.us is by default included in any rails app under the
public/javascripts directory. There are rails wrappers around the
script.aculo.us library. Have a look at the rails API''s for
ActionView::Helpers::JavaScriptHelper - there is a draggable_element
method there.
--
Posted via http://www.ruby-forum.com/.