darrel
2008-Jan-19 17:07 UTC
A few(hopefully easy) issues with drag and drop in scriptaculous
I''m trying to finish up a long-standing personal project to get the drag-n-drop sortables working. I''ve gotten pretty close: http://darrelaustin.com/stuff/dragndrophelp/ It''s based off of gregphoto''s work here: http://www.gregphoto.net/sortable/advanced/ I have my page working fairly well. There are 3 remaining issues that I hope are solvable. Quick explanation of what the page should do: Items in the left column should be dragged to the right column. The right column is then sortable. The issues: 1) When dragging from the left column to the right, I can''t get the ghosted image to cross the columns. Any way to do that? I''d like the ghosted image to follow the mouse across. 2) I don''t need the left column sortable. Just draggable. Is that doable? 3) Both columns (divs) are scrollable. If you scroll the left column to the bottom, then drag an item to the right, you will note that the actual item is no longer in-line with the cursor, but rather offset by some (I imagine) percentage of the div on the left that is hidden. Is there any way around that? That''s the major issue I have no in terms of usability. Bonus) Lastly, is there a way to ''clone'' an item from the left rather than remove it when dragged? The last time I looked into this (well over a year ago) it appears that, no, that''s just not an option that is going to be offered in scriptaculous, but thought I''d ask. Thanks for any help/suggestions! -Darrel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
D A
2008-Jan-28 21:45 UTC
Re: A few(hopefully easy) issues with drag and drop in scriptaculous
(sheepishly poking my head in for a ''bump''...anyone able to offer any suggestions?) On Jan 19, 2008 11:07 AM, darrel <dalists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m trying to finish up a long-standing personal project to get the > drag-n-drop sortables working. I''ve gotten pretty close: > > http://darrelaustin.com/stuff/dragndrophelp/ > > It''s based off of gregphoto''s work here: > > http://www.gregphoto.net/sortable/advanced/ > > I have my page working fairly well. There are 3 remaining issues that > I hope are solvable. > > Quick explanation of what the page should do: Items in the left column > should be dragged to the right column. The right column is then > sortable. > > The issues: > > 1) When dragging from the left column to the right, I can''t get the > ghosted image to cross the columns. Any way to do that? I''d like the > ghosted image to follow the mouse across. > > 2) I don''t need the left column sortable. Just draggable. Is that > doable? > > 3) Both columns (divs) are scrollable. If you scroll the left column > to the bottom, then drag an item to the right, you will note that the > actual item is no longer in-line with the cursor, but rather offset by > some (I imagine) percentage of the div on the left that is hidden. Is > there any way around that? That''s the major issue I have no in terms > of usability. > > Bonus) Lastly, is there a way to ''clone'' an item from the left rather > than remove it when dragged? The last time I looked into this (well > over a year ago) it appears that, no, that''s just not an option that > is going to be offered in scriptaculous, but thought I''d ask. > > Thanks for any help/suggestions! > > -Darrel--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---