I have 1.7.1 beta 3 of Scriptaculous plus Rails 1.2.3 and am trying to
get Drag n Drop working smoothly.
I would like the Draggable to revert except when it''s accepted by a
Drop and understand there''s a new option in this release. :revert
=>
''failure''
The Draggable is set up in Rails by
<%= draggable_element
"second_appt_drag_div"+"#{@appointment_array_for_day[n+5]}",
:revert
=> ''failure'', :scroll => ''all_change''
-%>
which produces this in the html.
new Draggable("second_appt_drag_div168", {revert:failure,
scroll:all_change})
When I try to drag it, the mouse just highlights the text selected.
The mouse move icon doesn''t move away from the source.
Is this working - am I doing something wrong?
I also have a <div id="all_change"> for the scroll that I would
like
the Draggable to move within - but I get the same mouse symptoms and
can''t move the Draggable at all. (I have tested each of these
separately.)
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---