Hi.

I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this.

The situation is like this.

_____________________________
| abc                      |    =>  Box1Line1             
| cde                      |    =>  Box1Line2
| efg                      |    =>  Box1Line3
|  h                        |    =>  Box1Line4
-----------------------------

Fig: Box 1
===========
_____________________________
| 123                      |  =>  Box2Line1
| 456                      |  =>  Box2Line2
| 789                      |  =>  Box2Line3
|  10                      |  =>  Box2Line4
-----------------------------

Fig Box 2
============

As shown in the figures above, I have Box1 and Box2 (whcih i will make either div or list elements) and within each of them i have lines (another list). I am trying to create these boxes and  lines draggable. Further, i am trying to create my lines i.e. list inside these boxes droppable so that, I can drop lines from one box into another. For example, from box1, i should be able to drag line containt text "abc" and drop it into box2. After dropping it i want to save the state of my list.

I am not able to figure out how can i achieve this using scriptaculous.

Any help in solving this would be highly appreciated, if it is possible using scriptaculous.

Thanks!



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to